2017-04-12 41 views
0

做了一個「shoutem pull-app」之後,我嘗試使用「react-native run-ios」在模擬器上運行反應原生代碼。我收到此錯誤:無法使用react-native run-ios運行shoutem v5代碼

Installing build/Build/Products/Debug-iphonesimulator/ShoutemApp.app An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): Failed to install the requested application An application bundle was not found at the provided path. Provide a valid path to the desired application bundle. Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/ShoutemApp.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist

回答

1

shoutem pull-app命令用於獲取在同一個地方的所有代碼。如果您要更改分機號碼,請轉至extensions目錄內的分機號碼簿(例如shoutem-news),並將其作爲您自己的分機。現在您可以通過執行shoutem runshoutem run-iosshoutem run-android來查看本地更改。

這是我們的路線圖,支持從下載的存儲庫執行react-native run-ios/react-native run-android

+0

你是說現在不可能嗎?您計劃何時實施該功能? – njdeveloper

+0

命令'shoutem run-ios'和'shoutem run-android'內部調用'react-native run-ios'和'react-native run-android',這樣就可以工作了。唯一的區別是他們也從服務器獲取應用程序配置。 – Tommz

+0

我們可以在運行應用程序的同時對擴展進行更改嗎?我們可以更改擴展的應用程序和服務器目錄嗎? – njdeveloper