伟子
伟子
  • 发布:2015-01-19 13:30
  • 更新:2015-01-19 18:34
  • 阅读:2541

离线打包报错怎么破?

分类:HBuilder


Ld /Users/gyp/Library/Developer/Xcode/DerivedData/HBuilder-Hello-aumbrcaqdwrjpxakgjntoctdxdns/Build/Products/Debug-iphonesimulator/HBuilder.app/HBuilder normal i386
cd "/Users/gyp/wei/work2014/嘉康利/iOS-SDK@0.5.0_20150116_14543/HBuilder-Hello"
export IPHONEOS_DEPLOYMENT_TARGET=5.1.1
export PATH="/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode\ 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/gyp/Library/Developer/Xcode/DerivedData/HBuilder-Hello-aumbrcaqdwrjpxakgjntoctdxdns/Build/Products/Debug-iphonesimulator -L/Users/gyp/wei/work2014/嘉康利/iOS-SDK@0.5.0_20150116_14543/HBuilder-Hello/../libs/Release-iphonesimulator -F/Users/gyp/Library/Developer/Xcode/DerivedData/HBuilder-Hello-aumbrcaqdwrjpxakgjntoctdxdns/Build/Products/Debug-iphonesimulator -F/Applications/Xcode\ 2.app/Contents/Developer/Library/Frameworks -F/Users/gyp/wei/work2014/嘉康利/iOS-SDK@0.5.0_20150116_14543/HBuilder-Hello/../libs/Release-iphoneos -F/Users/gyp/wei/work2014/嘉康利/iOS-SDK@0.5.0_20150116_14543/HBuilder-Hello/../libs/Release-iphonesimulator -filelist /Users/gyp/Library/Developer/Xcode/DerivedData/HBuilder-Hello-aumbrcaqdwrjpxakgjntoctdxdns/Build/Intermediates/HBuilder-Hello.build/Debug-iphonesimulator/HBuilder.build/Objects-normal/i386/HBuilder.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -llibUI -llibIO -llibWidget -llibPDRCore -llibAccelerometer -llibMedia -llibCache -llibCamera -llibContacts -llibIO -llibGeolocation -llibPGInvocation -llibMessage -llibPGProximity -llibStorage -llibZip -llibBarcode -llibMap -lbmapimp -lbaidumapapi -llibPush -lGeTuiPush -lGexinSdk -llibShare -lSinaShare -lWeiboSDK -lTencentShare -lTCWeiboSDK -lweixinShare -lWeChatSDK -llibSpeech -liflySpeech -llibStatistic -lMobClickLibrary -llibXHR -lssl -lcrypto -lAlixPaylib -lAlipayRsaLib -lalixpayment -llibPayment -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=5.1.1 -framework AlipaySDK -framework iflyMSC -framework Security -framework SystemConfiguration -framework CFNetwork -lsqlite3.0 -framework CoreLocation -framework OpenGLES -framework MapKit -framework Accounts -framework Social -framework AddressBookUI -liconv.2 -framework MessageUI -framework AVFoundation -framework AddressBook -framework CoreGraphics -framework Foundation -framework AudioToolbox -framework MediaPlayer -framework CoreTelephony -lxml2 -lz -framework CoreVideo -framework CoreMedia -framework MobileCoreServices -lstdc++.6 -framework UIKit -Xlinker -dependency_info -Xlinker /Users/gyp/Library/Developer/Xcode/DerivedData/HBuilder-Hello-aumbrcaqdwrjpxakgjntoctdxdns/Build/Intermediates/HBuilder-Hello.build/Debug-iphonesimulator/HBuilder.build/Objects-normal/i386/HBuilder_dependency_info.dat -o /Users/gyp/Library/Developer/Xcode/DerivedData/HBuilder-Hello-aumbrcaqdwrjpxakgjntoctdxdns/Build/Products/Debug-iphonesimulator/HBuilder.app/HBuilder

ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
Undefined symbols for architecture i386:
"_OBJCCLASS$_SBJsonParser", referenced from:
objc-class-ref in libAlixPaylib.a(AlixJson.o)
"_OBJCCLASS$_SBJsonWriter", referenced from:
objc-class-ref in libAlixPaylib.a(AlixJson.o)
"_OBJCCLASS$_UIAlertAction", referenced from:
objc-class-ref in liblibUI.a(PGUi.o)
"_OBJCCLASS$_UIAlertController", referenced from:
objc-class-ref in liblibUI.a(PGUi.o)
"_OBJCCLASS$_UIUserNotificationSettings", referenced from:
objc-class-ref in libGeTuiPush.a(GeTuiPush.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2015-01-19 13:30 负责人:无 分享
已邀请:
DCloud_IOS_XTY

DCloud_IOS_XTY

请使用最新版本Xcode

  • 伟子 (作者)

    尴尬了~~~~

    2015-01-19 19:02

该问题目前已经被锁定, 无法添加新回复