Skip to content

Commit f8868dd

Browse files
committed
Allow builds without signing
1 parent ba2c3ae commit f8868dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

platform/ios/ios.cmake

+5-1
Original file line numberDiff line numberDiff line change
@@ -120,5 +120,9 @@ add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/app")
120120
set(DEVELOPMENT_TEAM_ID "" CACHE STRING "Apple Development Team ID")
121121

122122
if(NOT DEVELOPMENT_TEAM_ID)
123-
message(WARNING "No Apple Developer Team ID set! Please set DEVELOPMENT_TEAM_ID (e.g., -DDEVELOPMENT_TEAM_ID=YOUR_TEAM_ID).")
123+
message(STATUS "No Apple Developer Team ID set (-DDEVELOPMENT_TEAM_ID=YOUR_TEAM_ID). Configuring build without signing.")
124+
set(CMAKE_OSX_SYSROOT iphonesimulator)
125+
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED "NO")
126+
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
127+
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
124128
endif()

0 commit comments

Comments
 (0)