報錯
Could not build Objective-C module '...‘
From:
https://stackoverflow.com/questions/38076495/could-not-build-objective-c-module-jsqmessagesviewcontroller
報錯
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app
From:
https://github.com/facebook/react-native/issues/24450
報錯
“xcodebuild” command but it exited with error code 65
去iOS 重新跑pod install
參考
報錯 library not found for -
libary未連接成功
到Xcode Targets中找build Settings
改Search paths->Libary Search Paths 裡面的參數
增加需要的套件
參考
報錯
error: Multiple commands produce '/Users/macmini/Library/Developer/Xcode/DerivedData/merchant_app-cjlrrzqmbkpuznfswahryafzskjh/Build/Products/Debug-iphonesimulator/merchant_app.app/EvilIcons.ttf':
去Xcode->Targets->Build Phases->Copy Bundle Resources 刪除多餘的參考字體
並非去[CP]Copy Bundle Resource一個一個刪除(每一次build完會再出現)
Error: Command /bin/sh failed with exit code 2
刪除/Users/macmini/Library/Developer/Xcode/DerivedData/
裡面的資料
Shift-Alt-Cmd-K clean Xcode project
Error:ld: warning: directory not found for option '-L-LPods/Target Support Files'
重新pod install
報錯 找不到字體
iOS中每個字體有自己的Familyname 需要使用font book裡面的名字
不能自己改 不然會找不到
報錯main.jsbundle does not exist.
參考