Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload App Store Unsupport arm64 #23

Closed
ZephiroRB opened this issue Oct 21, 2016 · 6 comments
Closed

Upload App Store Unsupport arm64 #23

ZephiroRB opened this issue Oct 21, 2016 · 6 comments

Comments

@ZephiroRB
Copy link

ZephiroRB commented Oct 21, 2016

I use ws 1.1.5

I can not upgrade to 1.3, because It stops working because all my application, I prefer to only use this version

Cartfile.resolved

github "Alamofire/Alamofire" "3.2.1"
github "s4cha/Arrow" "0.7.6"
github "stephencelis/SQLite.swift" "0.10.1"
github "s4cha/then" "2.0.1"
github "s4cha/ws" "1.1.5"

I use command carthage update

Carthage/Checkouts/ws/ws/WS.swift:13:8: error: module file was created by a newer version of the compiler: /Carthage/Checkouts/ws/Carthage/Build/iOS/then.framework/Modules/then.swiftmodule/arm64.swiftmodule
A shell task (/usr/bin/xcrun xcodebuild -project //Carthage/Checkouts/ws/ws.xcodeproj -scheme ws -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

Old projects this version was used
github "s4cha/then" "1.4.0"

with ws 1.1.5, now automatically change to
github "s4cha/then" "2.0.1"

why?

@s4cha
Copy link
Member

s4cha commented Oct 26, 2016

@zephiro What Xcode version and swift version are you using? also do you have Bitcode enabled in your project?

@s4cha
Copy link
Member

s4cha commented Oct 27, 2016

This is indeed and issue, then version wasnt locked in the Cartfile before as we can see here : https://github.com/freshOS/ws/blob/1.1.5/Cartfile

@s4cha
Copy link
Member

s4cha commented Nov 14, 2016

@zephiro any updates ?

@ZephiroRB
Copy link
Author

ZephiroRB commented Nov 30, 2016

Hi Sorry my version xcode is 7.3 swift is 2.1, enable bitcode is YES-

I am use file https://github.com/freshOS/ws/blob/1.1.5/Cartfile and carthage update, no problem build. But when select option product > archive.

Error.

CompileSwift normal arm64 files.

module file was created by a newer version of the compiler: Carthage/Build/iOS/then.framework/Modules/then.swiftmodule/arm64.swiftmodule

@ZephiroRB
Copy link
Author

ZephiroRB commented Nov 30, 2016

I try with cocoapods

When run pod install

error

[!] Unable to satisfy the following requirements:

  • ws (= 1.3.0) required by Podfile

None of your spec sources contain a spec satisfying the dependency: ws (= 1.3.0).

You have either:

  • out-of-date source repos which you can update with pod repo update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

Podfile

target 'App' do

pod 'ws', "1.3.0"
use_frameworks!

pod 'IQKeyboardManagerSwift', '4.0.5'
pod 'SQLite.swift', '~> 0.11.0'

end

@ZephiroRB
Copy link
Author

Finally upgrade to swift version 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants