I upgraded to Xcode 4.4.1. Now, I'm trying to add framework QuartzCore.framework, but getting Quartz.framework not found while running the application on device and it is working fine on simulator.
After analyzing, I got, the framework is missing at the path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS5.1.sdk/
Even if , it is available at:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/
Can anyone please let me know, what is going wrong? How to solve the problem?
If you're developing for iOS, you'll probably want QuartzCore.framework (and not Quartz.framework).
Try re-adding QuarzCore in Linked Libraries under Build Phases. If you're using a 6.0 device, you'll need to update Xcode to 4.5 or later.
Related
I am trying to run application in a device with iOS 9.1 from xcode 7.1. xcode is keep crashing. I am unable to install the application in any ios 9.1 devices. I have tried 3 different devices and getting the same problem. My code is in objective-c.
I have uninstalled the xcode and then installed xcode 7.2 again. It solved my issue.
I think you should do something for fix it, maybe it's just some stupid errors from xcode.
Try to clean then build again.
Add a devices for development then test again.
Report to Apple.
Check your iOS Target Deployment first.
Also try following steps
Also try reinstalling Xcode 7 and while installing close Xcode.
Check in Xcode Preferences whether Simulator for iOS9 is installed or not.
also check whether your itunes open when plugin device.
Despite the release notes stating this is supported and previous version of Xcode 6 working ok, I have a rather verbose error message when trying to build with 7.1 SDK.
"iOS targets using Swift cannot be built against an SDK older than 8.0, but the effective SDK is 7.1."
Has anyone else seen this?
I just had this issue, but with the app store build of Xcode 6.0.1 (6A317).
The issue was that I had copied old SDK's (7.0, 7.1) into the Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs directory. This was causing Xcode to use the wrong SDK for building.
Deleting them solved this problem for me. That'll teach me for mucking around with Xcode.
I have a project that is developed in iOS 5.0 and now i need to update my project to iOS 6.0 .
While doing this my xcode 4.5 throws the error as below...
dyld: Library not loaded: #rpath/SenTestingKit.framework/Versions/A/SenTestingKit
Referenced from: /Users/developer/Library/Application Support/iPhone Simulator/6.0/Applications/6EFF12B6-DA80-4DD8-B3CF-B217C5EA63DF/XxxxXxxx.app/xxxxXxxxXxx
Reason: image not found
still it runs and works perfectly in iOS 5 devices and i am trying to run this app in iphone Simulator iOS 6.0 it throws that error...
Any body have any idea about this...
Thanks in advance...
its working....set SentestingKit.framework as optional
#fry copied his answer from here:
http://www.cocoabuilder.com/archive/xcode/260066-sentesttingkit-framework-runtime-failure.html
There's more information there which I found useful in solving this problem.
Try to delete the derived Data, then clean the project and restart Xcode.
If its still not working, check the Target dependencies of your library.
It seams like it has Problems with the armv7s Architecture, check that in the
Buildsettings of your Framework!
I was in the process of adding a third party library (GPUImage), I actually managed to get it all in and installed on the device. Woohoo!
Then...well you know the story. It doesn't work anymore.
Now when ever I try to build to my device it will "Build successfully" then immediately go to "Finished running".
My setup:
iPhone 4
iOS 5.1.1
OS X Lion
Xcode 4.3.2
I have:
Tried:
Adding in armv6
-all_load
Restarting xcode
Restarting device
Removing device from the organizer then adding it back.
Restarting computer.
Cleaning project and rebuilding
Removing the "Requirements" (?) from the pList (although this app is for iOS 5.0 or higher).
None of these seem to work. If anyone has had this problem PLEEEASE help! I am about to lose my sanity.
In the mean time I will try archiving and doing and OTA install and see if that works.
Thank you very much for your time,
Cory
P.S - I have already seen all the other post on here so please don't paste links to them :)
Problem of Project, Scheme and Target names. This all must be a same. Try rename to same name
"AppName" and "Appname" is not true. Must be "AppName" and "AppName", or "Appname" and "Appname".
I have the same problem - I have the latest XCode iOS SDK 5.1 - but my iPhone is updated with the latest iOS version 5.1.1
Not sure how to solve this as Apple havent released the new SDK. Pretty shit to be honest, as I can't test on my device.
Not sure what fixed my problem but with the new Xcode version the problem stopped. Thank you everyone for your help.
I'm new to ios. I want to use CorePlot in my project.
I followed the steps in the instruction from CorePlot wiki and tried to build my project by Xcode 3.2.2. But i got some errors like
"'CALayer' may not respond to '-encodeWithCoder:' ",
"'NSMutableSet' may not respond to '-sortedArrayUsingDescriptors:'".
I tried to build the examples in the coreplot source code package and got the same errors.
Anyone knows the reason? How can i solve these problems? Any help would be appreciated.
The latest Core Plot projects are set up for Xcode 4.2. You may have to adjust some of the build settings to get them to work in older versions. I don't have that version of Xcode installed any more, but the first thing I would check is to make sure the Base SDK is set to one that you have instead of the generic "Latest iOS".