Reputation: 1919
I created a new APPCLIP target and shared the same file between the main app and the app clip app but when I try to give add some specific code with #if APPCLIP that never get called, and I'm definitely running the AppClip target.
Upvotes: 5
Views: 870
Reputation: 13527
You have to add APPCLIP
to your Active Compilation Conditions
for the App Clip target:
Upvotes: 7