Hey all, Im having a bit of trouble pulling in external ios dependencies into the `compose-multiplat...
j
Hey all, Im having a bit of trouble pulling in external ios dependencies into the
compose-multiplatform-ios-android-template
and wondering if someone can point me in the right direction. I have the vanilla template and I’m trying to pull in
GoogleMLKit/BarcodeScanning ~> 3.2.0
pod and cannot get the ios target to run correctly from AS. If I open the app in xCode its running fine (minus some ios deployment target warnings) but from AS i get:
Copy code
warning: None of the architectures in ARCHS (arm64) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (arm64, arm64e, i386, x86_64) which is not in EXCLUDED_ARCHS (arm64). (in target 'iosApp' from project 'iosApp')
…
/path/to/project/iosApp/Pods/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks.sh: line 132: ARCHS[@]: unbound variable
I tried a few possible fixes I found, like making sure the launch config is point at the workspace, and removing the excluded architectures from the iosApp build settings in xcode but still not having much luck.
If i remove the excluded archs like Apple suggests I get to the
framework not found Pods_iosApp
error like Marco did but in my case my launch config points at
iosApp.xcworkspace
so i don’t think this is the issue.