Skip to content

Build failure - Missing libReactNativePermissions.a #42

Closed
@tomchinery

Description

@tomchinery

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions