Freshly installed xcode 4.2 on snow leopard and my system profile reads:
Version: 4.2 (4C199)
Location: /Developer
Applications:
Xcode: 4.2 (828)
Instruments: 4.2 (4233)
Dashcode: 3.0.2 (336)
SDKs:
Mac OS X: 10.6: (10K549)
iPhone OS: 5.0: (9A334)
iPhone Simulator: 5.0: (9A334)
My apps work fine on the device but not on the simulator. Message on the xcode reads "Running on iPhone 5.0 simulator" but simulator's status is "Application not responding". I even tried reinstalling xcode/sdk (--mode=all) but no luck.
I'm sure the problem is not with the app because the simulator doesnt respond even when I start it directly without xcode.
Related
Is iOS 8.1.2 supported by Xcode 6.0 and OS X 10.9.4?
When trying to run, Xcode shows a message that there are "Ineligible devices (OS Version)"
You need to update your OS to 10.10.1 and install Xcode 6.1.
I have an application running successfully on Xcode 4.2 iOS 5.1, when i updated to Xcode 4.5 to make the application compatible with iOS 6, when i run the application it gives an error
Apple Mach-O linker error: no such file or directory: '/Users/User/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/RestKit/RestKit'
Note that i have moved the whole project from a Mac that was running xcode 4.2 into another Mac running Xcode 4.5
Thanks in advance
Just goto BuildSettings of the Project and remove armv7s from Valid architecture
Whenever I try to debug on devices with iOS 4.x (iPhone 4 and 3GS) I get the following error:
error: failed to launch '/XXX/Library/Developer/Xcode/DerivedData/XXX-fytptbaixvmoweacfsniqxtvjkst/Build/Products/Debug-iphoneos/XXX.app/XXX'
-- Bad CPU type in executable
On devices with iOS 5.x it works.
I am using xCode 4.3.3 and my configurations are:
Architectures: Standard (armv7) (also tried armv6,armv7 to no avail)
Base SDK: Latest iOS (iOS 5.1)
Valid Architectures: armv6, armv7
Deployment Target: iOS 4.0
What do you think?
In your Xcode preferences, go to downloads tab and install "iOS 4.0 - 4.1 Device Debugging Support".
This package includes information and symbols that Xcode needs for
debugging your app on iOS devices running versions of iOS prior to iOS
4.2. If you intend to debug your app on a device running one of these versions of iOS you should install this package.
I upgraded an iPhone project from the 2.2.1 SDK to 3.0 SDK recently...
And when I build the project I am getting the following warning:
GCC 4.2 default deployment target 10.6.2 for architecture 'i386' and
variant 'normal' is greater than the maximum value 10.6 for the
Simulator - iPhone OS 3.1.2 SDK
I have the iPhone OS Deployment target set to iPhone OS 3.0
Any idea what could be causing this 'warning' to show up.
Regards
- SY
Experienced a similar problem when building with iOS4.0 on Snow Leopard:
"GCC 4.2 default deployment target 10.6.3 for architecture 'i386' and variant 'normal' is greater than the maximum value 10.6 for the Simulator - iPhone OS 4.0 SDK."
Not sure of all the implications, but here's what made it go away:
In xCode:
Project (menu)
Edit Project Settings (menu item)
Build (tab)
Deployment (section)
Change the value of "Mac OS X Deployment Target"
from "Compiler Default" to "Mac OS X 10.6"
try going to the appropriate directory:
cd /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/
then as su:
cp crt1.10.5.o crt1.10.6.o
That seemed to fix it for me.
Strange thing happened: My old 2.2.1 version iPod works perfectly with Xcode. Now I got a new one with 3.1.2 installed. Xcode complains that it can't develop for 3.1.2, but instead it can do so for:
Xcode Supported iPhone OS Versions
3.1.1 (7C145)
3.1 (7C144)
3.0.1 (7A400)
3.0
2.2.1
2.2
2.1.1
2.1
2.0.2 (5C1)
2.0.1 (5B108)
2.0 (5A347)
2.0 (5A345)
Now what can I do about it? I have Snow Leopard and Xcode 3.2
You have to update your version of XCode. Go to http://developer.apple.com/iphone/ and download the new SDK.
Sounds like you need the new iphone SDK 3.2 beta available from developer.apple.com today.