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

Unable to start after installation #34

Closed
liaokaime opened this issue Dec 2, 2019 · 3 comments
Closed

Unable to start after installation #34

liaokaime opened this issue Dec 2, 2019 · 3 comments
Labels
question Further information is requested

Comments

@liaokaime
Copy link

react-native version : 59.9
operating system : mojave 10.14.6
editor : webstorm 2019.03.EAP
react-native-square-in-app-payments : "^1.2.3",

I tried to follow the documentation installation react-native-square-in-app-payments

1、Since I already had a react-native project, I skipped the first step

2、The command was copied directly and executed without hindrance

yarn add react-native-square-in-app-payments
react-native link react-native-square-in-app-payments

3、I chose step 3b
3.1 touch Podfile
3.2 Edit Podfile as follows

platform :ios, '11.0' # set the platform version to 11.0

target 'feifan' do
  use_frameworks! # enalbe use_frameworks!

  # pod dependencies
  pod 'RNSquareInAppPayments', :path => '../node_modules/react-native-square-in-app-payments'
end

4、Since I only want to use it on ios, I skipped step 4

5、I tried

react-native run-ios

6、The App did not start properly and an error was reported

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 feifan.xcworkspace

** BUILD FAILED **


The following build commands failed:
        CompileC /Users/liaokai/workspace/feifan/ios/build/feifan/Build/Intermediates.noindex/RNSquareInAppPayments.build/Debug-iphonesimulator/RNSquareInAppPayments.build/Objects-normal/x86_64/SQIPCardDetails+RNSQIPAdditions.o /Users/liaokai/workspace/feifan/node_modules/react-native-square-in-app-payments/ios/Converters/SQIPCardDetails+RNSQIPAdditions.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        CompileC /Users/liaokai/workspace/feifan/ios/build/feifan/Build/Intermediates.noindex/RNSquareInAppPayments.build/Debug-iphonesimulator/RNSquareInAppPayments.build/Objects-normal/x86_64/SQIPCard+RNSQIPAdditions.o /Users/liaokai/workspace/feifan/node_modules/react-native-square-in-app-payments/ios/Converters/SQIPCard+RNSQIPAdditions.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
@liaokaime liaokaime added the question Further information is requested label Dec 2, 2019
@okenshields
Copy link
Contributor

Hi,

Can you try run your app in xcode and see if it works? Also can you try some of the suggestions in this thread and see if any of those helps? facebook/react-native#25240

@StephenJosey
Copy link
Contributor

Hi @liaokaime were you able to get this running?

@StephenJosey
Copy link
Contributor

Going to go ahead and close this due to no response. Please comment and I can reopen if you still are running into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants