Skip to content

Commit

Permalink
Simpler solution to the code-signing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
djowel committed May 22, 2024
1 parent 7ff8d23 commit 793c02f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Binary file removed docs/modules/ROOT/images/setup/xcode-signing.png
Binary file not shown.
8 changes: 6 additions & 2 deletions docs/modules/ROOT/pages/setup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,18 @@ cd build
cmake -GXcode ../
----

If you are having issues with code signing, disable it by setting the `CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED` variable to `NO`:

----
cmake -GXcode -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO ../
----

If successful, CMake will generate an https://developer.apple.com/xcode/[XCode] project in the build directory. Open the project file `elements.xcodeproj` and build all. You should see a couple of example applications.

If you are having problems with code signing, do this:

Build Settings->Code Signing Identity for ALL_BUILD and elements, click, then choose "Other", then clear the text (empty). Do this for both ALL_BUILD and elements.

image::setup/xcode-signing.png[]

== Windows

=== Install required libraries
Expand Down

0 comments on commit 793c02f

Please sign in to comment.