Can I open projects built with Xcode 12 in Xcode 11? - xcode

So I received this react native project, as a devops I have to get the app out of it and deploy to play store as well as Apple AppStore. I have successfully gotten the android apk but I have been having issues getting the release bundle for iOS. It says the project was built with a higher version of Xcode (probably Xcode 12), but I am using Xcode 11. Please is there anyway around this since I can not install Xcode 12 on my Mac due to it being outdated.

Related

Your Xcode version may be too old for your iOS version

I have updated my phone's OS version to iOS 14 and spent today updating Xcode to version 12, yet when I try to build my Flutter app on my iPhone 11 - iOS 14 through Android Studio, it gives me this error:
Your Xcode version may be too old for your iOS version.
═══════════════════════════════════════════════════════════════════════════════════
2020-09-18 19:14:26.576 ios-deploy[30916:201883] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, CFSTR("com.apple.debugserver"), NULL, &con)
Could not run build/ios/iphoneos/Runner.app on 00008030-00012C200C45802E.
Try launching Xcode and selecting "Product > Run" to fix the problem:
open ios/Runner.xcworkspace
Error launching application on Azheen’s.
This problem is somewhat confusing, I got the same error with Xcode 12.0.1 and iOS 14.2 beta.
This solved for me
Download Device support files of iOS 14.0 from this link.
for iOS 14.2 beta there is a pull request that is not yet merged
Unzip and Paste it in this location. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
ReOpen Xcode.
This is what I did:
Updated Xcode
flutter clean on the terminal.
flutter upgrade on the terminal.
Open Xcode and run the application once.
flutter clean again.
flutter run.
It should work now.
This issued was raised a while back in August in the flutter repo. Currently, the issue has been fixed by the recent flutter update.
Run flutter upgrade to v1.20.4 to get the fix
I ran into this problem recently, most likely it can be caused due to the reason, that your iOS Device is running a higher version than you xcode can support.
Example:
Apple release new iOS for iPhone i.e. 14.2 and you upgrade your device right away, than you ran into this issue, because the xcode may not have the latest version of your device support files, meaning xcode can only suuport iOS 14.1 or lower. Apple sometimes release newer iOS without providing update of xcode device support files.
There is 4 solutions for this:
Keep your iOS Device on the current stable version of xcode
Downgrade your current iOS device
Install device support files manually
Install xcode beta from Apple Developer https://developer.apple.com/download/
It is an annoying issue, Apple should not release any iOS without having the supporting tools released at the same time, or they should run a warning.
Ran into this issue today on Visual Studio. It appeared that my Dart SDK version was too out of date and upgrading it appeared to fix the problem.
I did upgrade my Flutter version first, and then ran into a problem with the vsync property of AnimationController not being recognized, which was solved by upgrading the Dart SDK, so I'm not sure who the real culprit was (or if it was a combination of both).
Instructions on upgrading your Dart SDK: https://dart.dev/get-dart

Setting SDK to 12.1

I keep getting the warning:
This app was built with the iOS 11.4 SDK. Starting March 2019, all iOS
apps submitted to the App Store must be built with the iOS 12.1 SDK or
later, included in Xcode 10.1 or later.
...when I upload to the app store.
I run Xcode 10.1, and I also set the base SDK to 12.1 as in the screenshot, but I still get the warning after archiving and uploading. Is there anything else I need to do? Deployment target is 9.0.
Just make sure you are using latest version of Xcode for compiling and uploading your build. Also make sure that you app screens support the all-screen design of iPhone XS Max or the 12.9-inch iPad Pro (3rd generation). Also check if all the pods are also build on latest SDK
I had 2 versions of Xcode (9 and 10) on my machine and after uploading I was also getting this warning. May be lame but once I removed Xcode 9 from my machine this warning went away.
Note: This is just a workaround. I'm not sure it can solve your problem.
Your Base SDK setting is different from mine.
Since I have just uploaded my app to Appstore without any problem (Nov 13, 2018 at 10:23 PM),
I think it's worth a try to set it to iphoneos like in the image and try to archive and upload again.
Xcode version 10.1 (10B61)

warning MT1108: Could not find developer tools for this 9.0 (13A344) device

I am having an issue with debugging my iOS application. When I try and run it on iOS9 it comes back with the following log:
Connected to: iPhone 5 warning MT1003: Could not kill the
application 'com.<....>'. You may have to kill the
application manually.
warning MT1108: Could not find developer tools
for this 9.0 (13A344) device. Please ensure you are using a compatible
Xcode version and then connect this device to Xcode to install the
development support files.
error MT1007: Failed to launch the
application 'com.<....>' on the device
'iPhone 5': Look for earlier warnings returned: 0x454. You can still
launch the application manually by tapping on it.
I believe this is related to few other things online:
https://forums.xamarin.com/discussion/15886/getting-compile-time-error-mt1007
Warning MT1108 after ios update
Xcode 7 with iOS 9 device Error: device unavailable (Could not find a developer disk image) ?
My guess to solving this would have been to simply download Xcode 7 ( I am running Xcode 6.4 at the moment). However I am slightly hesitant because Xamarin's website suggests differently?
To ensure your existing Xamarin.iOS apps run smoothly on iOS 9,
download the latest Xamarin.iOS release (8.10.3.2) from our Stable
channel (or if you have the previously released 8.10.1.74 that will
also work) (release info) then re-build and re-deploy your apps using
Xcode 6 on OS X Yosemite.
This will allow your existing apps to run in iOS 9 previews, and be
ready for the public release of iOS 9.
Obviously, my app does install and normally on the iOS9 device. However I can't debug which makes development not ideal...
I have the latest Xamarin updates and I am running on OSX 10.10.4
All help would be greatly appreciated.
If you want to just simply rebuild your app so it runs on iOS 9 (but build against iOS 8 SDK) then you can ignore the warning and tap the app to launch it and connect the debugger and continue from there (as it mentions).
If you're looking to use the new iOS 9 APIs in your application, then you'll need to get Xcode 7 installed.

Creating a LiveCode IOS standalone application

I just started to use LiveCode and tried to create a standalone IOS app and get the following error:
"There was an error while saving the standalone application performing
iOS device builds requires the iOS 5.0 SDK platform to be installed"
We are using Xcode version 4.5.1 which includes the IOS 6 SDK along with LiveCode version 5.5.1 and thought that all needed SDK's would be installed when we installed Xcode.
We also don't know where to get the IOS 5.0 SDK and how to get it installed in Xcode so LiveCode can use it.
You only need iOS 5 SDK if you are deploying an armv6 or universal app. If you are deploying armv7 only then you won't get this error if you have iOS 6 or 6.1 SDKs. If you do that though your app won't support older armv6 devices from iPhone 3G back. When the standalone is built LiveCode needs the SDK that the engine was built against. This is why when a new SDK comes out LiveCode won't support it until its next release. If your using LiveCode it's worthwhile getting into the habit of retaining each version of Xcode.
Try upgrading to Xcode 4.5.2 and then take a look at this link: http://forums.runrev.com/viewtopic.php?f=49&t=9339

MonoTouch and Xcode 4.3 from the App Store

I removed Xcode 4.2 from my system and installed 4.3 from the App Store.
Now when I want to build my app in MonoDevelop it says
The Apple iPhone SDK is not installed.
Using Xcode I can build and run iOS apps just fine.
I tried reinstalling MonoTouch, but it will fail saying XCode is missing.
Any idea how to get this working again?
Xcode 4.3 moved to a different directory, and MonoTouch can't find it anymore.
Yesterday we released a beta update that fixes this - just enable the beta channel in MonoDevelop (Preferences -> Updates) and then update to MonoDevelop (2.8.6.5) and MonoTouch (5.2.5).
Once we've been able to test the changes a bit more, we'll release these packages to the stable channel.

Resources