-
Notifications
You must be signed in to change notification settings - Fork 222
[[ Bug 23193 ]] Ensure AppTrackingTransparency framework is included on iOS 14+ #7579
[[ Bug 23193 ]] Ensure AppTrackingTransparency framework is included on iOS 14+ #7579
Conversation
…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 review ok e203707 |
💙 review by @livecodeian ok e203707 |
[[ 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.
😞 test failure e203707
|
e203707
to
a04f7e6
Compare
a04f7e6
to
a42c7a2
Compare
The current version of this PR fails when building an iOS standalone with error:
EDIT: This #7580 PR fixes this ^^ build error |
a42c7a2
to
32025a6
Compare
Removing WIP - this PR is ready for review now. |
@livecode-vulcan review ok 32025a6 |
💙 review by @livecodeian ok 32025a6 |
[[ 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.
😎 test success 32025a6
|
|
||
read SDK_MAJORVERSION SDK_MINORVERSION <<<${SDK_NAME//[^0-9]/ } | ||
read SDK_PLATFORM <<<${SDK_NAME//[0-9.]/ } | ||
|
||
if [ "$LIVECODE_DEP_FILE" == "" ]; then |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
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.