rgo*_*sbr 5 ios parse-platform
直到今天早些时候,我还在我的 iOS 7+ 项目中使用ParseFacebookUtilsV4版本1.7.5.3。然后我看到了 Parse 框架的更新,版本1.8.0. pod update 运行顺利,但是当我尝试构建应用程序时,它失败了:
Apple Match-O Linker Error
Linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
完整日志:
Ld /Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Products/Debug-iphonesimulator/projectname.target.app/projectname.target normal x86_64
cd /Users/user/Projetos/projectname.ios
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export 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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -L/Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Products/Debug-iphonesimulator -L/Users/user/Projetos/ProjectName.ios/Pods/GoogleAnalytics/Libraries -L/Users/user/Projetos/ProjectName.ios/Pods/ParseFacebookUtilsV4 -F/Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Products/Debug-iphonesimulator -filelist /Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/Target.build/Objects-normal/x86_64/projectname.target.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lBolts -lFBSDKCoreKit -lFBSDKLoginKit -lFMDB -lGoogleAnalytics -lJBWhatsAppActivity -lMBProgressHUD -lParse -lParseFacebookUtilsV4 -lParseFacebookUtilsV4Lib -lSDWebImage -lSSZipArchive -lSWRevealViewController -lToast -lUIActivityIndicator-for-SDWebImage -liRate -lsqlite3 -lz -framework AudioToolbox -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreLocation -framework ImageIO -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -weak_framework Accounts -weak_framework AudioToolbox -weak_framework CoreGraphics -weak_framework CoreLocation -weak_framework Foundation -weak_framework QuartzCore -weak_framework Security -weak_framework Social -weak_framework UIKit -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/Target.build/projectname.target.app.xcent -framework AudioToolbox -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreLocation -framework Foundation -framework ImageIO -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework Social -framework SystemConfiguration -framework UIKit -lz.1.1.3 -lz -lPods -Xlinker -dependency_info -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Intermediates/ProjectName.build/Debug-iphonesimulator/Target.build/Objects-normal/x86_64/projectname.target_dependency_info.dat -o /Users/user/Library/Developer/Xcode/DerivedData/ProjectName-amxlttymdgjhvifkgqzpcialrpbs/Build/Products/Debug-iphonesimulator/projectname.target.app/projectname.target
ld: framework not found Parse for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
我的播客文件:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
inhibit_all_warnings!
link_with 'Target', 'TargetB'
pod 'FMDB/standalone/FTS', '~> 2.5'
pod 'GoogleAnalytics', '~> 3.0'
pod 'iRate', '~> 1.10'
pod 'JBWhatsAppActivity', '~> 1.0'
pod 'MBProgressHUD', '~> 0.9'
pod 'ParseFacebookUtilsV4', '~> 1.8'
pod 'SDWebImage', '~> 3.7'
pod 'SWRevealViewController', '~> 2.3'
pod 'UIActivityIndicator-for-SDWebImage', '~> 1.2'
pod 'Toast', '~> 2.4'
pod 'SSZipArchive', '~> 0.3.2'
Run Code Online (Sandbox Code Playgroud)
加载的依赖项pod 'ParseFacebookUtilsV4', '~> 1.8':
"Bolts/Tasks": [">= 1.2.0"],
"Parse": ["~> 1.8.0"],
"FBSDKCoreKit": ["~> 4.0"],
"FBSDKLoginKit": ["~> 4.0"]
Run Code Online (Sandbox Code Playgroud)
无论如何,如果我强迫它使用旧版本 ( pod 'ParseFacebookUtilsV4', '~> 1.7.5'),下面的应用程序会像魅力一样构建,没有任何错误。使用此 podspec 加载的依赖项:
"Bolts/Tasks": [">= 1.2.0"],
"Parse": ["~> 1.7.5.3"],
"FBSDKCoreKit": ["~> 4.0"],
"FBSDKLoginKit": ["~> 4.0"]
Run Code Online (Sandbox Code Playgroud)
这是最新版本的 Parse Framework 的问题吗?我错过了什么吗?
编辑 1:目前使用CocoaPods 0.38.2
编辑 2:他们刚刚发布了Parse 1.8.1,在更新日志上有这个消息:“固定:ParseFacebookUtilsV4 和 ParseTwitterUtils 当通过 Cocoapods 用作静态库时。” 我很快就会测试它。
编辑 3: Parse 1.8.1为我解决了这个问题。就是这样,一切都是最新的并且工作正常。
这似乎是版本的问题Parse SDK 1.8.0,已修复1.8.1。
更新日志(https://www.parse.com/docs/downloads):
\n\n\n\n\nV1.8.1 \xe2\x80\x94 2015 年 8 月 19 日新增:ParseOSX.framework 更名为\n Parse.framework。功能:PFInstallation 现在自动检测并存储当前设备区域设置。改进:原始网络错误(如果有)现在存储在 error.userInfo 中的 NSUnderlyingErrorKey 下。\n 已修复:在部分中返回\n 零页脚补充视图时,PFQueryCollectionViewController 中可能会崩溃。\n 已修复 :使用 ParseFacebookUtilsV4 和 ParseTwitterUtils 时通过 Cocoapods 作为静态库。已修复:通过 CocoaPods 使用并集成为静态库时覆盖本地化。已修复:\n PFObject 子类实例变量与\n _state 名称可能发生冲突。修复:PFObject 子类上的 BOOL 属性被视为数字而不是布尔值。已修复:在 PFImageView 中并发加载图像时潜在的线程问题。已修复:收到声音设置为空的推送通知时\n可能会崩溃。
\n
pod update我用( )更新了我的项目,pod \'ParseFacebookUtilsV4\', \'~> 1.8\'现在一切正常。
| 归档时间: |
|
| 查看次数: |
1125 次 |
| 最近记录: |