Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sample/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ target 'sample' do
# C++ settings
config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++20'
config.build_settings['CLANG_CXX_LIBRARY'] = 'libc++'

# WORKAROUND (MSDK-4832): native UsercentricsUI.xcframework 2.32.0 (and 2.31.1+) ships
# arm64-only iOS/tvOS Simulator slices — the old x86_64 fat-binary slice was reduced to a
# dSYM-only stub when Sentry was linked in (EXCLUDED_ARCHS added alongside it, unnecessarily:
# the real Sentry-Dynamic xcframework does ship x86_64). Causes a dyld "signal abrt before
# starting test execution" crash on any x86_64 Simulator destination. Exclude x86_64 here
# until a corrected native SDK version is published (tracked in mobile-sdk MSDK-4832).
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'x86_64'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggestion: On Intel Macs, pod targets exclude x86_64 while the sample app still requests it, causing architecture mismatch during simulator linking instead of fixing the launch failure.

Assessment: 🟠 Major · 🔁 Occurrence: Rarely · 🏷️ Logic error

Use CodeAnt Skill Fix in Cursor Fix in VSCode Claude

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** sample/ios/Podfile
**Line:** 87:87
**Comment:**
	*Logic Error: On Intel Macs, pod targets exclude `x86_64` while the sample app still requests it, causing architecture mismatch during simulator linking instead of fixing the launch failure.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

end
end

Expand Down
2 changes: 1 addition & 1 deletion sample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2894,6 +2894,6 @@ SPEC CHECKSUMS:
UsercentricsUI: 0bf3d1a5ff33d34ff98be8645cc0358bc213b37b
Yoga: 9b30b783a17681321b52ac507a37219d7d795ace

PODFILE CHECKSUM: 8d257452e9e69d13384a99ee3cd38b42636521da
PODFILE CHECKSUM: 58bddb926e31074bb71fa08e588e08b2cfe944ee

COCOAPODS: 1.16.2
Loading