伟子
伟子
  • 发布:2015-01-19 15:11
  • 更新:2015-02-07 22:43
  • 阅读:5550

IOS离线打包打开官方DEMO报错

分类:HBuilder

为什么IOS离线打包打开报错
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/D
ebug-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:
"OBJC_CLASS$SBJsonParser", referenced from:
objc-class-ref in libAlixPaylib.a(AlixJson.o)
"_OBJC_CLASS$SBJsonWriter", referenced from:
objc-class-ref in libAlixPaylib.a(AlixJson.o)
"_OBJC_CLASS$UIAlertAction", referenced from:
objc-class-ref in liblibUI.a(PGUi.o)
"_OBJC_CLASS$UIAlertController", referenced from:
objc-class-ref in liblibUI.a(PGUi.o)
"_OBJC_CLASS$_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 15:11 负责人:无 分享
已邀请:
DCloud_IOS_XTY

DCloud_IOS_XTY

请使用最新版本Xcode

  • 伟子 (作者)

    谢谢了,我试试~~

    2015-01-19 19:02

arthur

arthur

不是可以去掉百度地图的吗?

  • DCloud_IOS_XTY

    可以去掉,http://ask.dcloud.net.cn/docs/#http://ask.dcloud.net.cn/article/41

    2015-02-09 10:50

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