xcode does not see sdl framework when compiling on 10.7.4 - osx-lion

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:

Related

Unable to load standard library for target arm64 error in XCode on Macbook Air M1

On new Mac with M1 chip get the error after the build of React Native app in XCode 12.4:
unable to load standard library for target 'arm64-apple-ios8.0'
failed to build module 'SciChart' from its module interface; the compiler that produced it, 'Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)'
What I already tried:
Reinstall XCode;
Changed Swift Language Version;
Deleted VALID_ARCHS reference according Xcode 12 Beta 2 - unable to load standard library for target 'arm64-apple-ios14.0-simulator'
On Macbook with intel chip there are no errors with the same app. And both of my Macbook have the same swift version:
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
Target: x86_64-apple-darwin20.3.0
Can you help me please!
Guys if you have old React Native projects just build it on Xcode with rosetta and you will save your nerves and time. I was looking the decision all week, but in the total it was so easy, just run Xcode with rosetta on M1: please try to open Xcode through Rosetta - Right click on Xcode in applications folder -> Get Info -> set Open with Rosetta to true

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 :)

Can't run swift project on Iphone with Skobbler

I have this error when I build the project on Iphone :
Warning: usage of --preserve-metadata with option "resource-rules" (deprecated in Mac OS X >= 10.10)!
/Users/Tom/Library/Developer/Xcode/DerivedData/Test-bwacbfyhutgdvnhetuiouvtcvvfi/Build/Products/Debug-iphoneos/Test.app/Frameworks/SKMaps.framework: invalid resource specification rule(s)
Command /usr/bin/codesign failed with exit code 1
If I built the project with the iOS Simulator, it run perfectly
I Work with swift 1.2 - Xcode 6.3.1 and OSX 10.10.3
Thank you for your help !
Ysee
EDIT :
I solved this problem, I had to manually install Skobbler SDK then I tested the installation with cocoapods. This works perfectly!
I solved this problem, I had to manually install Skobbler SDK then I tested the installation with cocoapods. This works perfectly!
If you work with Swift don't forget to add #import "SKMaps/SKMaps.h" in your Bridging-Header.h
Ysee

Xcode restKit error after updating into Xcode 4.5

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

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.