diff --git a/MacOSX/build-package.in b/MacOSX/build-package.in index bb832cc6..5611b740 100755 --- a/MacOSX/build-package.in +++ b/MacOSX/build-package.in @@ -134,9 +134,9 @@ else # Build and copy OpenSCTokenApp xcodebuild -target OpenSCTokenApp -configuration Release -project OpenSCToken/OpenSCTokenApp.xcodeproj install DSTROOT=${BUILDPATH}/target - #codesign --sign "$SIGNING_IDENTITY" --force --entitlements OpenSCToken/OpenSCToken/opensctoken.entitlements target/Library/OpenSC/bin/* - #codesign --sign "$SIGNING_IDENTITY" --force --entitlements OpenSCToken/OpenSCToken/opensctoken.entitlements target/Library/OpenSC/lib/*.dylib - #codesign --sign "$SIGNING_IDENTITY" --force --entitlements OpenSCToken/OpenSCToken/opensctoken.entitlements --deep target/Library/OpenSC/lib/opensc-pkcs11.bundle + codesign --sign "$SIGNING_IDENTITY" --force --entitlements MacOSX/opensc.entitlements target/Library/OpenSC/bin/* + codesign --sign "$SIGNING_IDENTITY" --force --entitlements MacOSX/opensc.entitlements target/Library/OpenSC/lib/*.dylib + codesign --sign "$SIGNING_IDENTITY" --force --entitlements MacOSX/opensc.entitlements --deep target/Library/OpenSC/lib/opensc-pkcs11.bundle fi # Prepare target root diff --git a/MacOSX/opensc.entitlements b/MacOSX/opensc.entitlements new file mode 100644 index 00000000..0eecdb30 --- /dev/null +++ b/MacOSX/opensc.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.smartcard + + +