SDKBOX Facebook integration iOS Fail

SDKBOX Facebook integration iOS Fail
0

Hi everyone, I have an issue when I build iOs, I have successfully built Android . How to fix it? This is the first times I build iOs, let me know if you need more info. Thanks.

Cocos2d-x-3.17 (cocos2d-js project)
XCode 9.2


Error log.

Ld /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Products/Debug-iphonesimulator/DarknessRising-mobile.app/DarknessRising-mobile normal x86_64
cd /Users/hamala/workspace/DarknessRising/frameworks/runtime-src/proj.ios_mac
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Users/jonh_daniel/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/jonh_daniel/Downloads/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/jonh_daniel/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Users/jonh_daniel/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Products/Debug-iphonesimulator -Lsdkbox.framework -LPluginFacebook.framework -LFBSDKCoreKit.framework -LFBSDKLoginKit.framework -LFBSDKShareKit.framework -LBolts.framework -F/Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Products/Debug-iphonesimulator -F/Users/hamala/workspace/DarknessRising/frameworks/runtime-src/proj.ios_mac -filelist /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Intermediates.noindex/DarknessRising.build/Debug-iphonesimulator/DarknessRising-mobile.build/Objects-normal/x86_64/DarknessRising-mobile.LinkFileList -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Intermediates.noindex/DarknessRising.build/Debug-iphonesimulator/DarknessRising-mobile.build/Objects-normal/x86_64/DarknessRising-mobile_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Intermediates.noindex/DarknessRising.build/Debug-iphonesimulator/DarknessRising-mobile.build/DarknessRising-mobile.app.xcent -framework CoreText -framework GameController -liconv -framework Security -framework MediaPlayer /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Products/Debug-iphonesimulator/libjscocos2d\ iOS.a /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Products/Debug-iphonesimulator/libcocos2d\ iOS.a -framework CoreMotion -lsqlite3 -lz -framework QuartzCore -framework OpenGLES -framework OpenAL -framework AudioToolbox -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -framework sdkbox -framework PluginFacebook -framework FBSDKCoreKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework Bolts -framework AdSupport -framework SystemConfiguration -Xlinker -dependency_info -Xlinker /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Intermediates.noindex/DarknessRising.build/Debug-iphonesimulator/DarknessRising-mobile.build/Objects-normal/x86_64/DarknessRising-mobile_dependency_info.dat -o /Users/jonh_daniel/Library/Developer/Xcode/DerivedData/DarknessRising-bgdnmjbscbmlhcakxddydzyjjnre/Build/Products/Debug-iphonesimulator/DarknessRising-mobile.app/DarknessRising-mobile

ld: framework not found CoreServices for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I think you need to update your Xcode to 10 or 11.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Thank @yinjimmy after update Xcode to 10, I have built success.

1 Like