Xcode restKit error after updating into Xcode 4.5 - iphone

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

Related

update Xcode to 10.2.1 run project crash with problem dyld: Library not loaded: #rpath/libswiftCore.dylib

I have a project that was created with Xcode 10, Objective-C, and Swift 4.0 and now upgraded to Xcode 10.2.1.
Error reporting for each run.
I have set Always Embed Swift Standard Libraries to YES
Add #executable_path/Frameworks to "Runpath Search Paths"
These methods don't resolve the issue.
dyld: Library not loaded: #rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/48371FB5-6A90-4D14-9D65-C7AB5DCAC1A1/one mini.app/Frameworks/Framework152x.framework/Framework152x
Reason: image not found
Actually, the problem is the Framework152x.framework is developed in Swift with Xcode version below 10.2. If your project is built with Xcode 10 with Framework152x.framework means Framework152x.framework runtime is swift 4.2. But if you build your project in Xcode 10.2.1 this issue will occur. Because the XCode 10.2.1 has swift 5 Runtime but Framework152x.framework is expecting swift 4.2. You can resolve this problem only by using Framework152x.framework which needs to be built either in Xcode 10.2 or 10.2.1
I had the same or very similar issue with UI tests failing due to their deployment target being set to iOS 12 and the app under test being set to iOS 10. When I set them both to iOS 10 the UI tests would successfully launch (the app always launched fine). Not sure if that's the problem you're having as you've not mentioned UI tests but perhaps you neglected to mention that :)

Cannot create the archive file in ios 6

i have created iphone application. and i took the file and published the it in app store. But i have upgraded my xcode and changed the os to 4.3 - 6.0 . Now when im trying to archive the project , gives me this error.
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
I checked by my architecture & compiler . they are,
Architecture - Standard(armv7,armv7s)
Compiler - LLVM GCC 4.2
What would be the problem ???
Remove armv7s from there and check
Check what value is in "Build Active Architectures Only" . If No, set that to Yes and try to build.

xcode does not see sdl framework when compiling on 10.7.4

I've recently updated xcode to 4.3.3 with osx sdk 10.7.4 in it. After that I am unable to link with sdl.framework (1.2.15)
When I switch platfrom to 10.6 it links ok.
When I compile using xcode 4.3.2 with osx sdk 10.7 it also links ok.
Any ideas?
Here's linker output
ld: framework not found SDL
This is a bug in XCode 4.3.3. See http://prod.lists.apple.com/archives/xcode-users/2012/Jun/msg00062.html
As a workaround at /Library/Frameworks to the Frameworks search path:

SenTestingKit Not found In Xcode4

When I tried to import <SenTestingKit/SenTestingKit.h>, I get this error: SenTestingKit/SenTestingKit.h: No such file or directory.
I am using unit testing for the first. I am using xcode 4.2 with ios 5 sdk. But in my system I have two xcode version installed,4.2 and 3.2.5. Although i am using xcode 4.2 ,xcode3.2.5 is the default xcode in my system. Can any one help me with the unit testing?
SenTestingKit.framework is at :
/Developer/Library/Frameworks/SenTestingKit.framework (OS X)
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOSX.X.sdk/Developer/Library/Frameworks/SenTestingKit.framework (iOS)
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulatorX.X.sdk/Developer/Library/Frameworks/SenTestingKit.framework (simulator)
for Xcode versions 4.3 and above prepend /Applications/Xcode.app/Contents/ to the paths above
I don't know, but the frameworks path will be different for both xcodes. it might be in 3.2.5 frameworks path and when using 4.2, it may not find it. Correct me if I'm wrong.

object file format invalid or unsuitable

I have two Xcode installed on my iMac (OSX 10.6.8), Xcode 3.1.4 and Xcode 3.2.6.
I created a new „empty view” project, it builds and runs in simulator fine with both Xcode.
BUT when I want to build to DEVICE then I got this error in Xcode 3.2.6:
.../build/Debug-iphoneos/JustaTest.app: object file format invalid or unsuitable
Command /usr/bin/codesign failed with exit code 1
It still works fine in Xcode 3.1.4 but it seems that the JustaTest.app file generated by Xcode 3.2.6 is not compatible with codesign.
Does anyone know how to tell Xcode 3.2.6 to generate codesign compatible app file?
Or how to get a new codesign which can sign app files generated by Xcode 3.2.6?
Thanks a lot.