Skip to content

Commit

Permalink
Fix iOS simulator build, remove signature
Browse files Browse the repository at this point in the history
  • Loading branch information
KhalilBellakrid committed Oct 22, 2018
1 parent 6417dad commit 4d9bc44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/build_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ if [ "$1" == "ios" ]; then
PATH_TO_LIB=core/src/Release-iphoneos
else
PATH_TO_LIB=core/src/Release-iphonesimulator
#Remove signature
rm -rf $PATH_TO_LIB/ledger-core.framework/_CodeSignature
codesign --remove-signature $PATH_TO_LIB/ledger-core.framework/ledger-core
fi

#echo "======> Set rpath"
Expand Down
2 changes: 1 addition & 1 deletion core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ string(FIND "${CMAKE_OSX_SYSROOT}" "iphone" IS_IOS)
if(IS_IOS GREATER_EQUAL 0)
set(CMAKE_SHARED_LINKER_FLAGS "-Wall")
set(FRAMEWORK_BUNDLE_IDENTIFIER "com.ledger.core")
set(DEPLOYMENT_TARGET 8.0)
set(DEPLOYMENT_TARGET 9.0)
set(DEVICE_FAMILY "1")
set(PRODUCT_NAME ledger_core)
set_target_properties(ledger-core PROPERTIES
Expand Down

0 comments on commit 4d9bc44

Please sign in to comment.