GitterMobile
GitterMobile copied to clipboard
Running ios and android on simulator
Hello,
i am having troubles running the ios and android app for this on simulator from clone. this is what shows up on terminal `os:GitterMobile oliversolano$ react-native run-ios Scanning folders for symlinks in /Users/oliversolano/engineering/subfolders/react-native/example-projects/GitterMobile/node_modules (13ms) Found Xcode workspace gittermobile.xcworkspace Building using "xcodebuild -workspace gittermobile.xcworkspace -configuration Debug -scheme gittermobile -destination id=98FA8F70-15E5-47C0-BD36-0B1E652DE9A5 -derivedDataPath build" User defaults from command line:
IDEDerivedDataPathOverride = /Users/oliversolano/engineering/subfolders/react-native/example-projects/GitterMobile/ios/build
2018-05-08 20:33:49.231 xcodebuild[23755:4289763] Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character / at line 1" UserInfo={NSDebugDescription=Unexpected character / at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Expected terminating '}' for dictionary at line 42" UserInfo={NSDebugDescription=Expected terminating '}' for dictionary at line 42}}
2018-05-08 20:33:49.232 xcodebuild[23755:4289763] [MT] IDEFileReferenceDebug: [Load] <IDEFileReference, 0x7f9aa1a89950: group:gittermobile.xcodeproj> Failed to load container at path: /Users/oliversolano/engineering/subfolders/react-native/example-projects/GitterMobile/ios/gittermobile.xcodeproj, Error: Error Domain=Xcode3ProjectErrorDomain Code=2 "Project /Users/oliversolano/engineering/subfolders/react-native/example-projects/GitterMobile/ios/gittermobile.xcodeproj cannot be opened because the project file cannot be parsed." UserInfo={NSLocalizedDescription=Project /Users/oliversolano/engineering/subfolders/react-native/example-projects/GitterMobile/ios/gittermobile.xcodeproj cannot be opened because the project file cannot be parsed.} --- xcodebuild: WARNING: Unable to open project file '/Users/oliversolano/engineering/subfolders/react-native/example-projects/GitterMobile/ios/gittermobile.xcodeproj' in workspace 'gittermobile.xcworkspace'.
xcodebuild: error: The workspace named "gittermobile" does not contain a scheme named "gittermobile". The "-list" option can be used to find the names of the schemes in the workspace.
Installing build/Build/Products/Debug-iphonesimulator/gittermobile.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/gittermobile.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist`
Hi, in order to run the app in ios simulator, you need to open ios/gittermobile.xcworkspace
file (Xcode Workspace) and then run the simulator via play button in XCode. It's required because we are using some native libraries via pods
.