I m trying to compile an app developped with ios sdk 4.3 with new ios 5.0 sdk
however, I get a strange crash at app loading with SIGABRT signal
the call stack is pretty minimalistic :
13 UIApplicationMain
14 main
after checking console, I get the following error:
Could not load NIB in bundle: 'NSBundle (loaded)' with name 'MainWindow_iPad''
I checked my resource folder , and the file is there, and the problem only occurs with the new xcode/ios sdk 5.0 , on a different machine with xcode 4 / ios 4.3 / ipad 4.3 with the same project, the project is not present
Does moving to ios 5 requires somes tweaks in resources management?
the beta version of xcode/ios 5 was bugged , with final version of ios 5 all is ok.
Related
I have an iphone 6 running ios 11.1
I have an old program that I need to run, and I tried to convert it to Swift 4 but wasn't translated properly (runtime errors mostly). Just want to run it and test it out. I do have xcode 8 and xcode 9 as well but since it's written in Swift 2.x I have to use either Xcode 8 or 7.
Running it in Xcode 7 I get
Could not find Developer Disk Image
Running it in Xcode 8 I get
This iPhone 6 is running iOS 11.1.1 (15B150), which may not be
supported by this version of Xcode.
Is there a way to run this on a physical device or I must convert it ?
Yes, you can run your Xcode 7/Swift 2 app on an iOS 11 device (assuming the app is built for 64-bit) but you can't run it (debug it) through Xcode. You would need to do an archive build then export the ipa for Ad-hoc deployment and install the app via iTunes.
Don't bother with any of that. Use Xcode 8 and use its conversion tool to migrate your code to Swift 3. Get all the compiler issues resolved. Then use Xcode 9 and to build and test your app on your iOS 11 device. Optionally you can (and probably should) also migrate to Swift 4.
Swift 2 is long dead. You need to migrate. The longer you wait, the harder it will be.
Yes you can do that. Install new Xcode version ( 9 ) and extract sdk image. Put it into your 7th folder, and you can run from Xcode 7 on iOS 11 device. But wonder, iOS 11 works only with 64x architecture, so apps should not be compiled in 32bit
I know there are lots of questions like mine but they didnt solve my problem.
I had xcode 8 and the system automatically forced to upgrade to 9.
After that I get lots of error when compiling project in xcode 9 and because of my rush I just need to prepare a new version using xcode 8 for ios 11.
After reinstalling Xcode 8.3.3 again, I dont see xcode 8 in the list of applications ( there is only xcode which is 9 ) but when opening project with "open with" I can choose xcode 8.
After opening project in xcode 8, ios 11 is not in the list of "ios development target" even after copying "developerDiskImage" for ios 11 in this folder:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Its strange also that why I dont have :
/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Any advice would be appreciated
Xcode 8 can't run with iOS 11 (only Xcode 9+).
But wait! There's a way; build an IPA and install it manually with iTunes to the device with iOS 11. But you won't have debug.
My current project app settings are xcode 7.3.1,I am using swift 2.2.
My app supports iOS 8 and above. With the recent changes to security and privacy setting for iOS 10, I wanted to know if uploading my app from xcode 7.3.1 will cause any issue/rejection from apple with respect to iOS 10. Is it suggested that I migrate to swift 2.3 and upload the app through xcode 8?Really puzzled
First point: The app store / iTunes Connect doesn't know or care what language your app is written in.
Second point: If you build with Xcode 7.3.1, then you are not linked against iOS 10. Therefore nothing about iOS 10 applies to you. You are running as an iOS 9 (or lower) app, under iOS 9 rules, even on an iOS 10 device.
Conclusion: You're fine; nothing has changed merely because Xcode 8 and iOS 10 exist.
Caveat: But you should check by running on an iOS 10 device anyway!
When trying to run app on my iPhone 4, Xcode 8 beta shows me this message:
This iPhone 4 is running iOS 7.1.2 (11D257), which may not be supported by this version of Xcode.
My app must support iOS 7. I read many answers they say that app build with Xcode 8 beta still can run on iOS 7 devices. So is there a way to install app to iPhone 4 with Xcode 8 beta? Like building the app first, then use a command line to install .app file to the iPhone?
Actually, there is a way. You just need to copy DeviceSupport folder for iOS 7.1 from Xcode 7 to the new one. It's located in:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1
I've tried it and it works.
EDIT: If you don't have the 7.1 files anymore, you can find them here.
If you do not need to debug but only build and put the app on device then you could also use product -> archive to create .ipa file with an adhoc version and then put in on iphone 4 using window -> devices. This works on xcode 8 without any additional files.
The iOS 9 update is not supported by Xcode 6.4 for testing purpose. is there a workaround to connect my device to Xcode for testing. If not can I roll back my update to ios 8.4.1( previous update ).
There is a way to deploy to iOS 9 devices with Xcode 6.4. I ended up doing this because I of course had updated my phone right away, but I did not quite want to go to Xcode 7 due to Swift 2 and the lack of support by coacoapods, yet.
Here is what I did:
I downloaded Xcode 7, but did not install it.
Instead I browsed inside the dmg file (Show Package Contents on right-click) to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.
I then copied the folder named 9.0 (13A340) into the same location of my current installation of Xcode 6.4.
Lastly I renamed the existing 8.0 (12A365) folder to just 8.0 - I am not sure if this is necessary.
I am now able to deploy to my phone with iOS9 from Xcode 6.4.
I hope this is helpful to somebody!
The iOS 9 update is not supported by Xcode 6.4
You've hit the nail on the head. iOS 9 is not supported in versions of Xcode earlier than iOS 7. Just update to continue developing.
This worked for me to allow me to test my app that was built against the iOS8 SDK (on XCode 6.4) on a physical iOS9 device.
Rename XCode to Xcode 6.4 in the Applications folder
Install Xcode 7 from the downloaded DMG (don't update from the AppStore)
Open XCode 7 and build a test project (it can be an empty iOS9 app) and run it on your physical iOS9 device
Close Xcode 7 and open XCode 6.4
Build your app against the iOS8 SDK and debug on the physical iOS9 device
It seems like debugging on XCode 7 first updates something on the device and then XCode 6.4 can debug properly.
(This is useful for example, if you don't want to migrate your Swift 1.2 code to 2.0 yet)