I created empty react native project.
Open xCode -> choose Any IOS device -> product/click archive -> build app
.app file size >500mb
(interesting that simulator .app file 20mb)
Related
I want to build a single, universal Xcode static lib .a (and *.h files) that works for an app that must run on iphone 13 or on iphone 13 simulator.
How do I set the lib project to build a universal .a that an app can run on either actual iphone or simulator iphone?
When I set Xcode device selection to either iphone or sim it builds folder Debug-iphoneos/ or folder Debug-iphonesimulator/)
A few days ago, I was able to build an iOS app, which I'm working on using Xcode, on my iPhone but this morning when I tried to build and run the app, I get the error message below and cannot build the app now.
Please check the connection to the device, and review all errors in
the Devices and Simulators window.
I've already added my apple id in the account preferences and assigned the project to a team on the Signing & Capabilities pane of the project editor.
And this is the screenshot of the error in the Devices and Simulators window.
My Xcode version is 13.0 and iPhone is 14.7.1
I get the notification of "build succeed" but nothing shows up on my iPhone, so could anyone please tell me what should take a look at or what can I do next?
Following solution work for me
First check compatibility version for xcode with iOS version from following
https://developer.apple.com/support/xcode/
Now check the list of devices support to your Xcode from 'Device Support'
To get into 'Device Support' :: Open Finder -> Applications -> Scroll to Xcode -> Right Click -> Show Package Contents -> Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
This is the list of devices folder support for your Xcode
Now check for your iOS version from iPhone device :: Open Settings from iPhone -> General -> About -> Software Version
If the 'Device Support' folder does not contains the folder of your iPhone iOS Version, then you need to add respective folder from following link
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport
From above Github page, select device version & download zip file
Now extract file & you will get the folder for your iOS version
Copy this folder into Finder -> Applications -> Scroll to Xcode -> Right Click -> Show Package Contents -> Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
Disconnect device (if connected), restart xcode
Before connecting device, delete derived data from xcode & clean cache using cmd + shft + k. Then make sure to reset 'Location & Privacy' from device :: From iPhone device go to Settings -> General -> Transfer or Rest Phone -> Reset -> Reset Location & Privacy -> Enter passcode to continue
Now connect your iPhone device with macbook (through cable), xcode will detect your device & you can run your application
I had this problem today on my iPhone 12 Pro Max iOS 15.1 Xcode 13.1, restarts of the iPhone and Mac didn't help.
In the end I made sure that the paired Apple Watch was unlocked and trusted after that no more error and I was able to build to the iPhone.
I was running the latest version of iOS v15.3.1 and after hours of pain I found that the solution was to update Xcode to the latest version
I deleted deriveddata and it worked.
Try the following operations,it works for me
1、deleted deriveddata
2、Turn off the phone and turn it on again
iOS 15.6 beta:
https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-15_6-release-notes
Known Issues
Xcode 13.4 is unable to prepare iOS 15.6 beta devices for development. (93452791)
Workaround: Use Xcode 13.3.1.
I updated my iPhone 6s to iOS 13 and I have Xcode 11.0 and am unable to run my project ton my phone. It gives me a notice of:
Could not locate device support files
and gives me this error:
This iPhone 6s is running iOS 13.0 (17A577), which may not be supported by this version of Xcode
My Xcode version:
How can I fix this?
I faced same issue.I download the Developer disk image for iOS 13.0 from here and added support file in Xcode Version 10.3 (10G8).
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip
Follow Those steps. 1) Unzipped downloaded file
2) Right click on Xcode and click on Show Package Content.
3) Then paste your file on path.
Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
Then Restart Your Xcode. It works for me.
First of all you are using Xcode 10.2.1 not 11.0.
Obvious one is to update you Xcode.
If it's urgent and you can't update your Xcode right away.
check this link out. https://github.com/iGhibli/iOS-DeviceSupport
After downloading the required OS support.
Go to
Application -> Xcode -> Right click -> Show Package Contents -> Contents -> Developer -> Platforms -> iPhoneOS.platform ->
DeviceSupport
and extract it
I have updated my iPhone to ios 10.2 by mistake but I want it to ios 9.2 because I am working on xcode7.2 and its not supported on ios 10.2. It shows a pop up with this error
could not find developer disk image
You don't have to downgrade your iPhone or upgrade your xcode, you simple have to insert the 10.2 developer disk image from xcode 8.
I uploaded it in my dropbox so you haven't have to download xcode 8.
When you'll download it locate your xcode in application folder -> right-click -Show package contents- -> Contents -> Developer -> Platforms -> IphoneOs.Platform -> DeviceSupport and you will see a lot of folders named 8.0,8.1,8.2 etc. put the file you downloaded it and unzip it.
Now you are good to go.
I set up the provisioning profile, the certificate, device identifier, etc and can build my ios project with no errors.
On my iPAD I see an icon with my app name but when I open it, the screen turns white and it does nothing...
The build is working fine on android, which I used to develop it, Unity builds an ios build with no problem, I open that folder as a new xcode project, and can build it then run but it doesn't do anything....xcode says "Running"....
Any idea's??? What a p.i.t.a....I thought I'd be golden after getting it to build...I've uploaded the build to dropbox and try to open on the ipad but it just says "Open with dropbox?" after it zips the folder as I try to download it to the device.....