You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the NextLevel framework as a Swift Package Dependency in order to enable the ARKit
I have added the compiler flag: USE_ARKIT
I can see that it works within project but the flag is not passed to the Swift Package Dependency when complaining the whole project.
I have noticed that in the documentation it's mentioned that if you use POD you should further do this:
If you use Cocoapods, you can include -D USE_ARKIT or -D USE_TRUE_DEPTH with the following Podfile addition or by adding it to your Xcode build settings.
installer.pods_project.targets.each do |target|
# setup NextLevel for ARKit use
if target.name == 'NextLevel'
target.build_configurations.each do |config|
config.build_settings['OTHER_SWIFT_FLAGS'] = ['$(inherited)', '-DUSE_ARKIT']
end
end
end
My question is what I need to do to enable this flag when using Swift Package Dependency?
The text was updated successfully, but these errors were encountered:
Hi Guys!
I am using the NextLevel framework as a Swift Package Dependency in order to enable the ARKit
I have added the compiler flag: USE_ARKIT
I can see that it works within project but the flag is not passed to the Swift Package Dependency when complaining the whole project.
I have noticed that in the documentation it's mentioned that if you use POD you should further do this:
If you use Cocoapods, you can include -D USE_ARKIT or -D USE_TRUE_DEPTH with the following Podfile addition or by adding it to your Xcode build settings.
My question is what I need to do to enable this flag when using Swift Package Dependency?
The text was updated successfully, but these errors were encountered: