brunolemos/react-native-web-monorepo

unable to run `yarn ios`

vgrafe opened this issue · 1 comments

Hi!

Right after a fresh git clone and installing the dependencies, I run into a problem: yarn ios errors.

The error is the same described in this issue,

❯ yarn ios
yarn run v1.19.2
$ yarn workspace mobile  ios
$ react-native run-ios
info Found Xcode workspace "myprojectname.xcworkspace"
info Building (using "xcodebuild -workspace myprojectname.xcworkspace -configuration Debug -scheme myprojectname -destination id=43A8B848-6352-4E0D-B0F7-453DE0F8E915 -derivedDataPath build/myprojectname")
..................
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, by opening myprojectname.xcworkspace. Run CLI with --verbose flag for more details.

running pod install outputs the following.

❯ pod install
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir /opt/webOS_TV_SDK/CLI/bin in PATH, mode 040777
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../../../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../../../node_modules/react-native/third-party-podspecs/glog.podspec`
[!] Unable to find a specification for `boost-for-react-native` depended upon by `Folly`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Am I missing anything?

Thanks!!

After following those instructions, the pods install and the build works,