-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while building 7.16.0 on Xcode 10 #255
Comments
Hi @daCelky, can you check whether FBSDKCoreKit exists under framework directory in your xcode project? It would be better if you can attach the structure of your FacebookSDK structure under framework directory. |
Yes everything exists in my framework directory. |
Same issue here with 7.16 and Xcode 10.2.1. |
I am facing the same issue with facebook sdk version 7.16 and Xcode 10.2.1. clang: error: no such file or directory: 'Builds/0.0.1/Frameworks/FacebookSDK/Plugins/iOS/FBSDKCoreKit.framework/FBSDKCoreKit' |
SDK v7.16.0、Unity 2018.3.0f2、Xcode 10.1(10B61) FIX: Change the path to "$(SRCROOT)/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit" |
@daCelky does your build folder contain spaces? |
@Snowblaze it did, I tried without any space and it succesfully build, how can it be an issue since every other SDKs are building without any problem ? |
Finally I have used 7.15. I hope that fb fixed it soon. |
@daCelky try to use a command regarding any folder with a space, but without quotation marks, you'll probably get the same error. I'll try to find the cause and make a pull request in a day or two, so that we get it fixed in the next release. |
I think it may have to do with the iOS version. I get this issue on my iPad running 12.3.1. Not on my iPhone running 12.2.
|
Having the same issue... :/ |
Try to build again. |
@inxidious actually I didn't have this directory issue but issue #261. I'm using XCode 10.2.1 and Unity 2018.2.2. |
Hi all, we currently add "-all_load" to avoid the issue of both FB SDK path and #208 . However, if you want to use "-force_load" and have the "no such file or directory" issue, then change the FB SDK path to the correct. |
@KylinChang after updating to 7.16.1, i couldn't build my project because of an error. ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/xxx/Projects/XCodeProjects/zzz/Libraries/libiPhone-lib.a(unwind_test_arm64.o) But, if i change -all_load to -force_load, it works fine. |
@inxidious your solution worked for me. Thanks. |
@chkuang-g FYI @KylinChang any chance you could change your SDK to not do |
Hey @stewartmiles , in the latest v7.17.2, we already removed the flag and use cocoapods to add FBiOSSDK. Can you switch to use v7.17.2? If you still want to use v7.16.0, you can use --force_load {PATH_OF_FBSDKCoreKit} instead. |
@KylinChang that's great, thanks for the heads up. We don't use Facebook's SDK directly, instead developers include it when they want to authenticate with Facebook and then link that identity with a Firebase auth token. I'm glad this has moved over to using Cocoapods, I hope you're using the iOS Resolver ;) |
Hi ! It's been two days i'm trying to build for iOS and get stuck with a weird error :
clang: error: no such file or directory: 'iOS' clang: error: no such file or directory: 'Facebook/Frameworks/FacebookSDK/Plugins/iOS/FBSDKCoreKit.framework/FBSDKCoreKit' Command Ld failed with a nonzero exit code
I don't have any missing file, everything is present and I don't really understand, everything works fine on 7.15.0, what could have changed since?
Thanks in advance
The text was updated successfully, but these errors were encountered: