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

Failed to set code signing settings for **/*.xcodeproj #2938

Open
dam-ease opened this issue Jan 22, 2025 · 0 comments
Open

Failed to set code signing settings for **/*.xcodeproj #2938

dam-ease opened this issue Jan 22, 2025 · 0 comments

Comments

@dam-ease
Copy link
Contributor

When building a React Native ios project with, some users encounter errors similar to the following:

Searching for files matching /Users/builder/clone/**/*.xcodeproj
Failed to set code signing settings for node_modules/react-native-fast-image/ios/FastImage.xcodeproj

or

Searching for files matching /Users/builder/clone/**/*.xcodeproj
Failed to set code signing settings for node_modules/react-native-camera-kit/ios/lib/ReactNativeCameraKit.xcodeproj

This error occurs because Codemagic is attempting to apply code signing settings to .xcodeproj files in the node_modules folder (e.g., react-native-fast-image or react-native-camera-kit). However, the actual application project should be targeted instead.

Solution
Explicitly target app's .xcodeproj file by updating the xcode-project use-profiles command:

xcode-project use-profiles --project ios/*.xcodeproj

or

xcode-project use-profiles --project ios/<project_name>.xcodeproj
(i.e. path to your .xcodeproj folder) 
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

1 participant