Closed NilayDagdemir closed 1 year ago
@NilayDagdemir Have you solved this problem? I'd like to use latest version of brew's cocoapods instead of using Rosetta
or arch -x86_64
.
Got the exactly same problem. Is there a way to fix it?
@albyok I was using the SkeltonView via Swift Package but it looks like there is not way to build with M1 mac. So I just change it to CocoaPods with the below code in Podfile and It works fine now.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
end
Got the same problem. Any progress with solving this bug?
Hi mates! Now, SkeletonView
supports XCFrameworks. Please, could you check if the problem is solved using XCFramework instead?
Thanks!
Hi mates! Now,
SkeletonView
supports XCFrameworks. Please, could you check if the problem is solved using XCFramework instead?Thanks!
Thank you. It works! :)
Great! So, I'm going to close this issue. Feel free to open a new one if you face another problem 😉
Description
SkeletonView fails when try to run my ui tests via fastlane command on a Mac Mini with M1 chip.
Issue Type
Requirements
Bug Report
I recieve this error when I try to run my ui tests via fastlane command on a Mac Mini with M1 chip:
could not find module 'SkeletonView' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator, at: /[DEVELOPER_PATH]/Xcode/DerivedData/[PROJECT_NAME]-aszrsdazdfzrgyelpmnfdgehbkgb/Build/Products/Debug-iphonesimulator/SkeletonView.swiftmodule
On Macbook with an intel chip, it's working without an error.
Fastlane Command
This is the lane that I'm using in order to run UI tests:
SkeletonView Environment:
I installed the SkeletonView using swift package manager.
SkeletonView version:1.25.1 Xcode version: 13.2.1 Swift version:5.5
Expected result:
Test Succeeded
Actual result:
Could not find module 'SkeletonView' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator on M1 Chip