作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用了一个旧游戏,想要添加PebbleFramework,现在我收到了这些警告和错误。我正确地遵循了他们的文档。
任何帮助将不胜感激
Ld /Users/developer/Library/Developer/Xcode/DerivedData/TicTacToe-cjyphzfzstogbbegocrpujgsfhxp/Build/Products/Debug-iphonesimulator/TicTacToe.app/TicTacToe normal i386
cd /Users/developer/Developer/iOS/TicTac
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/developer/Library/Developer/Xcode/DerivedData/TicTacToe-cjyphzfzstogbbegocrpujgsfhxp/Build/Products/Debug-iphonesimulator -F/Users/developer/Library/Developer/Xcode/DerivedData/TicTacToe-cjyphzfzstogbbegocrpujgsfhxp/Build/Products/Debug-iphonesimulator -F/Users/developer/Developer/iOS/TicTac -F/Users/developer/Downloads/TicTac -filelist /Users/developer/Library/Developer/Xcode/DerivedData/TicTacToe-cjyphzfzstogbbegocrpujgsfhxp/Build/Intermediates/TicTacToe.build/Debug-iphonesimulator/TicTacToe.build/Objects-normal/i386/TicTacToe.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -framework CoreLocation -lz -framework ExternalAccessory -framework CoreBluetooth -framework CoreMotion -framework MessageUI -framework GameKit -framework iAd -framework AudioToolbox -framework AVFoundation -framework SystemConfiguration -framework AdSupport -framework CoreGraphics -framework QuartzCore -framework UIKit -framework PebbleVendor -framework PebbleKit -framework Foundation -framework RevMobAds -Xlinker -dependency_info -Xlinker /Users/developer/Library/Developer/Xcode/DerivedData/TicTacToe-cjyphzfzstogbbegocrpujgsfhxp/Build/Intermediates/TicTacToe.build/Debug-iphonesimulator/TicTacToe.build/Objects-normal/i386/TicTacToe_dependency_info.dat -o /Users/developer/Library/Developer/Xcode/DerivedData/TicTacToe-cjyphzfzstogbbegocrpujgsfhxp/Build/Products/Debug-iphonesimulator/TicTacToe.app/TicTacToe
ld: warning: directory not found for option '-F/Users/developer/Downloads/TicTac'
Undefined symbols for architecture i386:
"_kCFErrorDomainCFNetwork", referenced from:
-[QServer netService:didNotPublish:] in PebbleKit(QServer.o)
"_kCFStreamErrorDomainNetServices", referenced from:
-[QServer netService:didNotPublish:] in PebbleKit(QServer.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
## Integrating PebbleKit Manually
- Drag PebbleKit.framework into project
- Drag in PebbleVendor.framework into the project, or, drag the PebbleVendor.xcodeproj into project if you need to control the 3rd party components needed for PebbleKit.
- Link ExternalAccessory.framework, libz.dylib, CoreBluetooth.framework, CoreMotion.framework and MessageUI.framework
- Add "-ObjC" linker flag to your project's build settings
- Add the value "com.getpebble.public" to the "Supported external accessory protocols" (UISupportedExternalAccessoryProtocols) array in your app's Info.plist
- Optionally, add the value "App communicates with an accessory" (external-accessory) to the "Required background modes" (UIBackgroundModes) array in your app's Info.plist
最佳答案
您遵循的说明已过时。您能告诉我们您在哪里找到它们吗?
此处提供了最新说明:http://developer.getpebble.com/2/mobile-app-guide/ios-guide.html
关于ios - PebbleFramework给了我很多警告和错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20908116/
我是一名优秀的程序员,十分优秀!