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

error: Signing for "target" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'target' from project 'libtarget') #141

Open
luca992 opened this issue Apr 16, 2022 · 9 comments
Assignees
Labels

Comments

@luca992
Copy link

luca992 commented Apr 16, 2022

I'm trying to build this crypto library to a library for ios: https://github.com/dfoxfranke/libaes_siv

    cmake .. \
    -G Xcode -DCMAKE_TOOLCHAIN_FILE=../../ios-cmake/ios.toolchain.cmake -DPLATFORM=OS64
    cmake --build .

Is failing with:

error: Signing for "aes_siv" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'aes_siv' from project 'libaes_siv')
error: Bundle identifier is missing. demo doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'demo' from project 'libaes_siv')
error: Bundle identifier is missing. runtests doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'runtests' from project 'libaes_siv')

Any idea what I'm doing wrong?

Btw, I opened the generated the generated xcode project and theres not even an option to set the development team for the aes_siv target.

Screen Shot 2022-04-16 at 6 57 46 PM

@luca992
Copy link
Author

luca992 commented Apr 20, 2022

Seems releated to this:

https://stackoverflow.com/questions/71320584/flutter-build-ios-got-error-requested-but-did-not-find-extension-point-with-ide/71503876#71503876

I'm going to try downgrading xcode 13.3.1, none of those workaround helped

@luca992
Copy link
Author

luca992 commented Apr 20, 2022

Downgrading to 13.2.1 worked.

@parcool
Copy link

parcool commented Jun 28, 2022

Mark

@kambala-decapitator
Copy link

you can set project-wide development team with -DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=your_team

I opened the generated the generated xcode project and theres not even an option to set the development team

you must switch settings type on top from Basic to All

@Blackclaws
Copy link
Contributor

Blackclaws commented Mar 3, 2023

I am running into the same issue. I just want to build a shared library for iOS and not sign anything.

The interesting part is building from Xcode itself works. But building via cmake or xcodebuild hits the issue.

@kambala-decapitator
Copy link

I am running into the same issue. I just want to build a shared library for iOS and not sign anything.

The interesting part is building from Xcode itself works. But building via cmake or xcodebuild hits the issue.

you can force no signing with CODE_SIGNING_ALLOWED=NO option to xcodebuild. If building with cmake, you'd pass it as cmake --build . -- CODE_SIGNING_ALLOWED=NO

@Blackclaws
Copy link
Contributor

I am running into the same issue. I just want to build a shared library for iOS and not sign anything.
The interesting part is building from Xcode itself works. But building via cmake or xcodebuild hits the issue.

you can force no signing with CODE_SIGNING_ALLOWED=NO option to xcodebuild. If building with cmake, you'd pass it as cmake --build . -- CODE_SIGNING_ALLOWED=NO

Thanks! That solved the issue. Weirdly enough that property was already set inside Xcode itself. I wonder why that is the case.

@kambala-decapitator
Copy link

it might be a similar-looking property CODE_SIGNING_REQUIRED which doesn't have any effect I think

@Blackclaws
Copy link
Contributor

it might be a similar-looking property CODE_SIGNING_REQUIRED which doesn't have any effect I think

I just checked and you are correct. Thanks a lot for the help. Xcode is confusing to work with at best and outright problematic at worst.

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

No branches or pull requests

5 participants