File Provider Extension for macOS is missing in Xcode 11 - xcode11

Update:
I found that File Provider Extension API is removed from Catalina features page. Is that mean this feature won't be available on macOS Catalina?
I upgraded Xcode to Xcode 11 GM2(11A420a) on macOS Catalina beta.8. Then I tried to create an application extension by clicking File > New > Target and found that File Provider extension is missing from the application extension list for macOS.
I remembered I could create a File Provider extension for macOS in a previous beta version of Xcode 11. What to do now?

Related

ERROR ITMS-90596: "Invalid Bundle. The asset catalog at 'Payload/MyApp.app/Assets.car' can't be processed."

I created an app with Xcode 11.6 (11E708) on macOS Catalina 10.15.6 (19G73). I archived and exported this app to an ipa file with Xcode.
Now, I want to upload this ipa file with Apples Transporter 1.1.1 (1171) running on macOS High Sierra 10.13.6 (17G11023).
When starting the upload, I get the following message after few seconds:
ERROR ITMS-90596: "Invalid Bundle. The asset catalog at
'Payload/MyApp.app/Assets.car' can't be processed. Rebuild your app,
and all included extensions and frameworks, with the latest GM version
of Xcode and resubmit."
How can I solve this problem while still being able to upload the ipa file with Transporter from macOS High Sierra?
I finally found a solution:
I downloaded Xcode 10 from https://developer.apple.com/download/more/. Be aware to download Xcode 10 because all newer versions like Xcode 10.1 aren't compatible with High Sierra and won't work.
After the download, I installed and started Xcode once.
After that, I closed Xcode.
Now, the Transporter app worked like a charm with no errors at all.
Hint: If that doesn't work for you, maybe try to restart your Mac.

What version of iOS I have with Xcode

How I can tell the iOS SDK version used by my Xcode? and iOS SDK version installed on my Mac?
The SDK version by Xcode can be seen in the Build Settings of your project:
To find out which iOS SDKs are installed, open the terminal and type
ls -lah /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
(according to Apple, this is the location where they're installed)

upgraded Xcode to 4.5.2 from 4.3.2 and install Simulator 5.0 or 5.1

I upgraded Xcode to 4.5.2 from 4.3.2 and install Simulator 5.0 or 5.1 but it tips
"Failed to mount file://localhost/Users/admin/Library/Caches/com.apple.dt.Xcode/Downloads/Xcode.SDK.iPhoneSimulator.5.1-5.1.dmg at file://localhost/var/folders/sw/qht9m6ln7353v5mbfyvhtmf00000gn/T/attached-image-6fdc393a2528f4e65d994f841bfb0d76b998b7e3/: not recognized", how can I do,thanks.
I found a work around for this. I am currently using Xcode 4.5 so I am sure it works for 4.5.2 as well.
I found the URL's for downloads in the .dvtdownloadabelindex file located in
Users/<user>/Library/Caches/com.apple.dt.Xcode/Downloads/
I copied the file to my Desktop and renamed it to .plist. Looking through some of the I found two URLs to download the simulators (Root/downloadables/Item 9/ for iPhoneSimulator 5.0 and Root/downloadables/Item 17/ for iPhoneSimulator 5.1). Not sure if I am allowed to post the direct URLs due to Apple TOS and whatnot.
I downloaded the two simulators, installed what was in the .dmg. It made a folder in the root of my drive called Platforms. I then copied
/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
Restart Xcode (or in my case, MonoTouch), go into Xcode preferences and to the tab you would normally download them from, click install and this will get rid of the "iOS Simulator could not find the SDK. The SDK may need to be reinstalled." error that you would normally get.
You now have access to the iPhone/iPad iOS 5.0 Simulators. I have only done this for the 5.0 simulator not 5.1, but I am sure it will work the same.
This works for me:
Delete *.dvtdownloadableindex file
Restart Xcode
Install simulators

Xcode: How to get 4.3 simulator back after upgraded to Xcode 4.4? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion
I just upgraded to OSX 10.8 and Xcode 4.4, then I found 4.3 simulator was gone away and likely Apple didn't offer link to install it. Is there any hack to get 4.3 simulator back? Thanks.
Update: This solution doesn't work anymore on Mountain Lion. If you have to support 4.x I suggest you don't upgrade to ML and stick to Lion and Xcode 4.3.3. But, I'm guessing it's too late now since you're already here and reading this.
Xcode 4.3.3 doesn't work in Mountain Lion.
If you want the 4.x simulator back into Xcode 4.4 here's what you have to do:
Download Xcode 3.2.6 and iOS SDK 4.3 from https://developer.apple.com/downloads/ (you must be an Apple Developer to have access to that area)
Mount the .dmg file
Inside the disk there should be an invisible "Packages" folder. To open it use shift + cmd + G (Go To Folder) and type "/Volumes/Xcode and iOS SDK/Packages/"
Install iPhoneSimulatorSDK4_x.pkg in a temporary folder
Once installed go to your temp folder and you'll find a iPhoneSimulator4.x.sdk file
Open a new Finder window and navigate to "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform" (you can do this with the same command as above, shift + cmd + G)
Drag the iPhoneSimulator4.x.sdk from your temp folder to the SDKs folder of the Xcode package.
Restart Xcode and delete your temp folder
Xcode 4.4 drops simulator 4.3 by policy. It is no longer in downloads. It DOES offer debug of iOS 3.0-3.2.2 and iOS 4.0-4.1

MonoMac projects cannot compile: ibtool exited with code 1 - Can't run /Developer/usr/bin/ibtool (no such file)

I'm moving my first steps in MonoMac.
But I stopped right at the beginning due to some configuration error. I've created a new ManoMac project in MonoDevelop, and then tried some other sample MonoMac xamarin projects from GitHub, but I always get this error compiling:
Error: Can't run /Developer/usr/bin/ibtool (no such file).
ibtool exited with code 1
My configuration:
Operating System:
Mac OS X 10.7.3
MonoDevelop 2.8.6.5
Runtime:
Mono 2.10.8 (tarball Mon Dec 19 17:43:18 EST 2011)
GTK 2.24.5
GTK# (2.12.0.0)
Mono for Android not installed
Apple Developer Tools:
Xcode 4.3.1 (1176)
Build 4E1019
Monotouch: 5.2.5
MonoDevelop.MonoMac 2.6.0.0
All my Monotouch projects compile fine, and I have no problem with the last XCode (following the Xamarin guidelines I successfully upgraded XCode and moved it from the obsolete Developer folder to the Application folder, and downloaded the updated developer command line tools from apple).
I've tried reinstalling MonoDevelop, but with no success. I always get: "Error: ibtool returned error code 1."
Any help is appreciated.
This problem is caused by the Xcode 4.3 installer not updating the Xcode symlinks correctly to point to the active Xcode version. You can fix it with the following command:
sudo xcode-select -switch /Applications/Xcode.app
This upcoming MonoDevelop 2.8.8 release contains a fix for this. You can get it from the beta update channel.
It looks like the MonoMac addin was never updated to work with Xcode 4.3.
A temporary workaraound is to setup symlinks in the proper places in /Developer.
I found the way in the MonoMac forum:
http://mono.1490590.n4.nabble.com/MonoMac-and-XCode-4-3-ibtool-error-Solution-td4403822.html
I report it here:
When using MonoMac and Xcode 4.3, the current MD beta build fails with an ibtool error.
The solutions is to type the following commands in the Terminal console:
sudo rm /usr/bin/ibtool
and then:
sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool /usr/bin/ibtool
Now it compiles fine.
I got a similar error running Xamarin on Xcode 6.2 and I solved the problem by re-installing the same version of Xcode again replacing the old version per the suggestion on this post: xcode-select active developer directory error on OSX Mavericks.
I may have caused this problem as I was renaming XCode Application. I have several versions installed and was trying to keep them all straight.

Resources