Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ Bug 23193 ]] Ensure AppTrackingTransparency framework is included on iOS 14+ #7579

Merged

Conversation

livecodepanos
Copy link
Contributor

This patch ensures the AppTrackingTransparency framework is included if the version of the target_sdk is 14+
not only on simulator builds but also on device builds.

…on iOS 14+

This patch ensures the AppTrackingTransparency framework is included if the version of the target_sdk is 14+
not only on simulator builds but also on device builds.
@livecodeian
Copy link
Contributor

@livecode-vulcan review ok e203707

@livecode-vulcan
Copy link
Contributor

💙 review by @livecodeian ok e203707

livecode-vulcan added a commit that referenced this pull request Jun 9, 2021
[[ Bug 23193 ]] Ensure AppTrackingTransparency framework is included on iOS 14+

This patch ensures the AppTrackingTransparency framework is included if the version of the target_sdk is 14+
not only on simulator builds but also on device builds.
@livecode-vulcan
Copy link
Contributor

😞 test failure e203707

  • try-community-armv6-android-sdk26_ndk16r15: success
  • try-community-armv7-android-ndk16r15: success
  • try-community-arm64-android-ndk16r15: success
  • try-community-x86-android-ndk16r15: success
  • try-community-x86_64-android-ndk16r15: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos14.5: failure
  • try-community-universal-ios-iphoneos14.4: failure
  • try-community-universal-ios-iphonesimulator14.5: failure
  • try-community-universal-ios-iphonesimulator14.4: pending
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@livecodepanos
Copy link
Contributor Author

livecodepanos commented Jun 9, 2021

The current version of this PR fails when building an iOS standalone with error:

linking for arm  (arm64) failed with 2021-06-09 18:13:26.259911+0300 xcrun[71828:6441845] 
Failed to open macho file at 
/../Xcodes/Xcode_12_5_0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ 
for reading: Too many levels of symbolic links

EDIT: This #7580 PR fixes this ^^ build error

@livecodepanos livecodepanos force-pushed the fix_link_error_iphoneos branch from a42c7a2 to 32025a6 Compare June 10, 2021 07:12
@livecodepanos
Copy link
Contributor Author

Removing WIP - this PR is ready for review now.

@livecodepanos livecodepanos removed the WIP label Jun 10, 2021
@livecodeian
Copy link
Contributor

@livecode-vulcan review ok 32025a6

@livecode-vulcan
Copy link
Contributor

💙 review by @livecodeian ok 32025a6

livecode-vulcan added a commit that referenced this pull request Jun 10, 2021
[[ Bug 23193 ]] Ensure AppTrackingTransparency framework is included on iOS 14+

This patch ensures the AppTrackingTransparency framework is included if the version of the target_sdk is 14+
not only on simulator builds but also on device builds.
@livecode-vulcan
Copy link
Contributor

😎 test success 32025a6

  • try-community-armv6-android-sdk26_ndk16r15: success
  • try-community-armv7-android-ndk16r15: success
  • try-community-arm64-android-ndk16r15: success
  • try-community-x86-android-ndk16r15: success
  • try-community-x86_64-android-ndk16r15: success
  • try-community-js-emscripten-sdk1.35: success
  • try-community-universal-ios-iphoneos14.5: success
  • try-community-universal-ios-iphoneos14.4: success
  • try-community-universal-ios-iphonesimulator14.5: success
  • try-community-universal-ios-iphonesimulator14.4: success
  • try-community-universal-mac-macosx10.9: success
  • try-community-x86-linux-debian8: success
  • try-community-x86_64-linux-debian8: success
  • try-community-x86-win32: success
  • try-community-x86_64-win32: success

@livecodepanos livecodepanos merged commit bb5350c into livecode:develop-9.6 Jun 10, 2021

read SDK_MAJORVERSION SDK_MINORVERSION <<<${SDK_NAME//[^0-9]/ }
read SDK_PLATFORM <<<${SDK_NAME//[0-9.]/ }

if [ "$LIVECODE_DEP_FILE" == "" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@livecodepanos sorry. Little late to the review. This change is not necessary and should be reverted because lclidl based externals have a different mechanism for conditional inclusion of frameworks

DEPS=`cat "$SRCROOT/$PRODUCT_NAME.ios"`
read SDK_MAJORVERSION SDK_MINORVERSION <<<${SDK_NAME//[^0-9]/ }

if [[ $SDK_MAJORVERSION -ge 14 && "$PRODUCT_NAME" == "standalone" ]] ; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@livecodepanos I think this means you need to add this file for each of the externals. Perhaps check if it's there and fallback?

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

Successfully merging this pull request may close these issues.

4 participants