After updating the Xcode 9.4.1 to Xcode 10, no one simulator is working to build the iOS application.
My iOS Application was building and running perfectly on Xcode 9.4.1
I have multiple warnings like this:
warning: The iOS Simulator deployment target is set to 7.0, but the
range of supported deployment target versions for this platform is 8.0
to 12.0.
ScreenShot for Xcode10 error :
And showing Multiple command produced in logs.
I have tried following approaches :
Delete derived data
Restart xcode
Create simulator manually from Xcode>Device/Simulator
Not one works for me. Please guide me.
The simple way is to come back to the legacy build system, it seems to be a problem of the new build system.
Open XCode, then click on File -> Project Settings.
Into the Shared Project Settings choose Legacy build system to the build system.
in xcode 10 : File -> workspaceSetting -> build System
Related
I am running Visual Studio for Mac Preview v17.4 with MAUI workload, but when I try to run the hello world app on my iOS 15 device I get an error to downgrade to a lower version but I can't do so in the project build settings because the only available version is 16.
Any ideas how to add iOS 15 build targets to VS for Mac MAUI?
There's a bug right now where the simulator dropdown is reading from the Info.plist file. Add an entry into your Info.plist file for the following property https://developer.apple.com/documentation/bundleresources/information_property_list/minimumosversion that matches the Minimum OS Version you've selected for your iOS target. You might have to restart vsmac or unload/reload your project. After doing this your lower version simulators should show up.
I beleive you have Xcode 14 . So download Xcode 13.4.1 version and select this Xcode in the path to see the simulators coming back. For now .netmaui is not completely supporting xcode 14. They are working to target Xcode 14. For now jus downgrade Xcode version below 14.
Recently, I upgraded from Xcode 9 to Xcode 10.1 for my existing react-native project. My RN project worked perfectly from Xcode 9, but after opening it in Xcode 10.1, I cant build my project in Xcode 10.1. It gives error saying
cant find "config.h".
I have also tried cleaning and restarting the xcode.
A somewhat obtuse quirk in 10.1 is that it switches legacy build settings to their new default. Go to your target's Workspace (or Project) Settings (File > Workspace Settings) and change Build System from New Build System back to Legacy Build System.
I just updated my project from 8.2. to 8.3 (using the latest xCode Version 6.3 6D570).
Now i get this error
error: WatchKit apps must have a deployment target equal to iOS 8.2
(was 8.3).
The project and all targets are set to Latest SDK 8.3
What did I miss?
I resolved this by:
Right-clicking my PROJECTNAME.xcodeproj file and choosing "Show Package Contents".
Opening project.pbxproj in a text editor.
Changing all instances of "IPHONEOS_DEPLOYMENT_TARGET = 8.3;" to "IPHONEOS_DEPLOYMENT_TARGET = 8.2;"
After this change my project compiled and ran fine.
Build successful.
I just changed the iOS Deployment Target of the Watch App Target to 8.2.
Why is that?
Ok , just select watch app -> go to build settings ->search for watchOS Deployment Target-> select lower version there based on the one of the watch you're using.
I have made a project in Xcode and copied the project to another system. When I opened the project on the other system, there was no option to select a Simulator device (only real Device). How can i resolve this issue?
Changing deployment target from 4.3 to 6 solved this issue, but if you still have problem go to project -> Build setting and see this if you have selected iOS because on OS X it will not show simulators
Here is your solution (if you haven't found already :)
Under Your project Build Settings
select Deployment section.
change iOS Deployment Target to a version iOS 5.0 or less.
now you can go ahead and change the deployment target from device to simulator!
In my case the deployment target was set to version 5.1 and I still am running snow leopard OS with appropriate JARS copied from xCode 4.3 to make it run with a device running iOS 5.1. However, my simulators do not yet support version 5.1 so till I changed the deployment target to lower version e.g. 5.0 or 4.2 it won't let me run on simulator.
I am building a cordova app using Netbeans 8.0. My problem is that although it builds on Xcode, I am getting the following error in Netbeans.
update-ios:
cordova prepare ios
build-ios-xcodebuild:
xcodebuild: error: SDK "iphoneos6.0" cannot be located.
/Users/abc123/nbproject/build.xml:178: exec returned: 64
BUILD FAILED (total time: 2 minutes 0 seconds)
Xcode is at version 5.1. I assume I need to add the SDK path to a file somewhere, but I don't know where that is nor where to put it.
I can still use Xcode if I have to but it is quite cumbersome when the Android version still uses Netbeans. The provisioning profile is set correctly.
In netbeans goto configure cordova. You can find a link by clicking on the build device icon. from the popup select mobile platform setup. put the correct path there.
I was in the same situation. Using Netbeans 8.0.2, Xcode 6.1.1 e IOS Simulator 8.1 (550.3)
The tip, in the commentaries, from tl8, is great. Go to the Project Files Tab (Cmd+2 or on the menu bar, Windows -> Files).
On the files:
YourProject/nbproject/ios.properties
YourProject/nbproject/ios_1.properties
Inside those files you can make the changes. The first concerns to the simulator version. The second is about the ios version on the device.