When I'm using xcode 9 beta 6 building a react-native project, it works fine.
But after I change to xcode 8.3, it builds failed, and shows me these information:
ld: framework not found FileProvider for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Apple Mach-O Linker (ld) Error Group
: Linker command failed with exit code 1 (use -v to see invocation)
How could I do if I use xcode 8.3 to develop ? I'm not able to use xcode 9 because of this: Xcode was crashed after adding ART.xcodeproj into Library
Thanks to all bros : )
FileProvide framework is only available in Xcode 9. You need to download and install Xcode 9 manually if you want to continue working on Xcode 8 environment,
I get this error too after updating my framework via cocoapods:
ld: framework not found FileProvider for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You need to copy the FileProvider framework from Xcode 9 into the directory of Xcode 8.
Download the Xcode 9 release version here.
After install, go to Application folder, right click on the Xcode9.app, select Show Package Contents.
Go to this directory:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/
Copy the FileProvider.framework, and paste into the same directory of Xcode8.app.
Restart your Xcode8, clean your project and rebuild it.
One way to fix this is to go to:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/
and put FileProvider.framework to your project (such as copy, paste, then drag and drop to Project's Frameworks Group).
Then wait until XCode 9 is released and remove it.
Edit: There is a problem with this approach though, the app ran on iOS < 11 will crash because the binary for FileProvider won't be found.
To work around this problem:
add FileProvider.framework to your project on XCode 8.x
link binary with libraries
then unlink it.
the project should build without problem now.
And when you build with simulator, you should copy the FileProvider.framework into
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/
I also have this problem, and I solved it by clean and rebuild project.
Try to restart your computer and clean derived data.
Related
I have an Xcode project with Cocoa Pods installed which I added a tvOS single view app target. I shared with the tvOS target all the pod installed.
When I build and run my iOS target everything is ok, but when I run the tvOS target I get this error
"ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
So after searching on the web I found a solution to this error. If I go to the Build Settings for the tvOS target and under Valid Architectures I remove arm64 and type armv7 the error disappears but then when i run the project i get this:
So if I leave the arm64 I get the first error, if I remove it I get the other one...
Someone knows how can I fix it?
I imported the XR plugin into my Unity project, generated the XCode project, then got a build error when trying to build the project in XCode:
ld: framework not found ARKit
clang: error: linker command failed with exit code 1 (use -v to see invocation)
All I've done so far is follow the instructions provided in the documentation. Any ideas what could be going on? I'm currently using Unity 5.5.0 and XCode 8.3.3.
I look at the documentation link and it says supporting XCode 9 or above. I just tried and it works for me on XCode 9.
Download the latest QuickBlox iOS SDK (v1.5.1) and tried to compile and run the sample chat example, failed to compiled with multiple issues.
I assume the Sample Chat project (called supersimple) to work out-of-the-box but unfortunately no...
Issue #1:
ld: library not found for -lxml2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Issue #2:
fatal error: file '//quickblox-ios-sdk-master-1.5.1/sample-chat/../Framework/Quickblox.framework/Headers/RatingsService/RatingsServiceFramework.h' has been modified since the precompiled header was built
For issue #2, I did tried to do clean build folder (option+shift+cmd+K) and rebuilt, didn't work.
I'm using XCode 4.6.1 on Mac OSX 10.8.3.
I included libIOKit.A.dylib library to my Xcode project using Target section of the project as shown in the below image. The project was built and worked fine and I'm getting some wired error in the compiling state saying
ld: library not found for -lIOKit.A clang: error: linker command
failed with exit code 1 (use -v to see invocation)
Can anyone help me on this matter?
The private framework IOKit built for the Simulator doesn’t exist, so it won’t work there. This library just work on iPad or iPhone.
I pass to xcode 4.2 and when I compile I have this error:
ld: library not found for -lz.1.2.3
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang
failed with exit code 1.
I am assuming lz is supposed to be libz. If that is the case, you are looking for a very specific version of the lib, so you're problem can be fixed by changing it to 1.2. This is done where you add frameworks (Coredata etc) in Xcode.
Hope this helps.