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 failure - Missing libReactNativePermissions.a #42

Closed
tomchinery opened this issue Oct 12, 2016 · 5 comments
Closed

Build failure - Missing libReactNativePermissions.a #42

tomchinery opened this issue Oct 12, 2016 · 5 comments

Comments

@tomchinery
Copy link

Hello,

I can't seem to get this working, using React Native and have followed these steps from the readme:

  • npm install --save react-native-permissions
  • rnpm link

Then running react-native run-ios results in:

Found Xcode project CandidateApp.xcodeproj
Launching iPhone 6 (9.3)...
Building using "xcodebuild -project CandidateApp.xcodeproj -scheme CandidateApp -destination id=EDA8ACD0-CC57-4E0D-9126-3913C8991B17 -derivedDataPath build"
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/tom/Projects/candidate-native-app/ios/build

=== BUILD TARGET RNI18n OF PROJECT RNI18n WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTLinking OF PROJECT RCTLinking WITH CONFIGURATION Debug ===
Check dependencies

=== BUILD TARGET RCTWebSocket OF PROJECT RCTWebSocket WITH CONFIGURATION Debug ===
Check dependencies

=== BUILD TARGET ReactNativePermissions OF PROJECT ReactNativePermissions WITH CONFIGURATION Debug ===

Check dependencies
Unable to run command 'Libtool libReactNativePermissions.a' - this target might include its own product.

=== BUILD TARGET RCTVibration OF PROJECT RCTVibration WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET ReactNativeConfig OF PROJECT ReactNativeConfig WITH CONFIGURATION Debug ===
Check dependencies

=== BUILD TARGET RCTActionSheet OF PROJECT RCTActionSheet WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET React OF PROJECT React WITH CONFIGURATION Debug ===
Check dependencies

** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/CandidateApp.app
Launching org.reactjs.native.example.CandidateApp
org.reactjs.native.example.CandidateApp: 14142

I opened my project in xCode and found that libReactNativePermissions.a is missing in the ReactNativePermissions project. Any ideas?

Cheers.

@crellison
Copy link

Have you added the ReactNativePermissions project to the libraries folder in your Xcode project? That may be the issue. Check out linking libraries on the Facebook ReactNative docs.

@yonahforst
Copy link
Collaborator

@tomchinery really sorry for the late, late reply. Have you tried @crellison 's suggestion?

@darkkn8t
Copy link

darkkn8t commented Feb 9, 2017

Have the exact same issue. I tried @crellison 's suggestion but it doesn't seem to work. Any help would be appreciated (Couldnt find the libreactnativepermissions.a file)! Thanks

@yonahforst
Copy link
Collaborator

@srshah19 - it's in xcode -> Libraries -> ReactNativePermissions.xcodeproj -> Projects

@yonahforst
Copy link
Collaborator

@tomchinery - closing for now. If you're still experiencing this issue, please reopen

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

No branches or pull requests

4 participants