Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed followed Getting Started guide #1426

Closed
1057437122 opened this issue May 15, 2021 · 1 comment
Closed

Build failed followed Getting Started guide #1426

1057437122 opened this issue May 15, 2021 · 1 comment

Comments

@1057437122
Copy link

🐛 Bug Report

I'm new to react native, I want to use ui-kitten to create a small app. So I followed the guide here:https://akveo.github.io/react-native-ui-kitten/docs/guides/getting-started#getting-started,
but when I run yarn ios, after some waiting, it said build failed, and the error is like this:


/Users/baishun/Documents/Program/Node/bible-games/MyAppJS/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flipper-DoubleConversion' from project 'Pods')
/Users/baishun/Documents/Program/Node/bible-games/MyAppJS/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'boost-for-react-native' from project 'Pods')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the HelloWorld editor. (in target 'HelloWorld' from project 'HelloWorld')
/Users/baishun/Documents/Program/Node/bible-games/MyAppJS/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.4, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flipper-PeerTalk' from project 'Pods')
/Users/baishun/Documents/Program/Node/bible-games/MyAppJS/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Flipper-Glog' from project 'Pods')
/Users/baishun/Documents/Program/Node/bible-games/MyAppJS/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'YogaKit' from project 'Pods')

** BUILD FAILED **


The following build commands failed:
	CompileC /Users/baishun/Library/Developer/Xcode/DerivedData/HelloWorld-anzezypacbjmxqceuhstqtwnmhnf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/baishun/Documents/Program/Node/bible-games/MyAppJS/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I googled a long time but never find a answer can solve my problem, so I'm not sure if it's a bug or what.

To Reproduce

Steps to reproduce the behavior:

npm un -g react-native-cli && npm i -g @react-native-community/cli
npx react-native init MyAppJS --template @ui-kitten/template-js
cd MyAppJS
yarn ios

I also tried cd ios && pod install but same error.

Expected behavior

Link to runnable example or repository (highly encouraged)

UI Kitten and Eva version

Package Version
@eva-design/eva ^2.1.0
@ui-kitten/components ^5.1.0

Environment information

System:
    OS: macOS 11.3
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
  Binaries:
    Node: 12.20.2 - ~/.nvm/versions/node/v12.20.2/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v12.20.2/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
  IDEs:
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  npmPackages:
    react: 17.0.1 => 17.0.1
    react-native: 0.64.0 => 0.64.0
@whitestranger7
Copy link
Contributor

Hello, @1057437122. It's noted issue. Please consider to bundle template via XCode. Follow these steps:

  1. call yarn start
  2. open /YourAmazingProject/ios in XCode
  3. click build button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants