ios-build-action
ios-build-action copied to clipboard
Error when trying to export IPA file from a project that uses a framework
Hello!
I'm trying to use the plugin the export an IPA file from a XCode iOS application that uses a dinamically-linked Framework. The signing process goes fine, but in the building step, when creating the project archive, it throws an error related to the framework:
/.../ViewController.swift:10:8: no such module 'BokenEngine'
The specified line is a simple Import statement. The framework is successfully built using Carthage in a previous job, and saved in a project relative location that is also in the framework search path of the project.
I tried reproducing in a local terminal the same command Fastlane is using:
xcodebuild -workspace [workspacepath] -scheme [scheme] -configuration Release -destination 'generic/platform=iOS' -archivePath [output archive path] clean archive
and it works fine, generating the archive file. It also works on the XCode IDE (Product > Archive).
I'm not very trained on Fastlane. Could it be that some parameter regarding the framework search paths must be passed to it previous to the archive generation?