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

Alamofire and #14

Open
KyawKyawOo opened this issue Dec 22, 2015 · 0 comments
Open

Alamofire and #14

KyawKyawOo opened this issue Dec 22, 2015 · 0 comments

Comments

@KyawKyawOo
Copy link

I did the steps following

  1. POD Install
    A-Mac-mini:SwiftParseChat-master A $ pod install
    Updating local specs repositories

CocoaPods 0.39.0 is available.
To update use: sudo gem install cocoapods
Until we reach version 1.0 the features of CocoaPods can and will change.
We strongly recommend that you use the latest version at all times.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
Downloading dependencies
Using Alamofire (1.2.0)
Generating Pods project
Integrating client project
Sending stats
A-Mac-mini:SwiftParseChat-master A$

  1. Run SwiftParseChat.xcworkspace
  2. Convert to Latest Swift Syntax ? -> Convert -> Next
  3. Select targets to Convert
    Choose (1) Alamofire.framework
    (2) Pods.framework
    (3) SwiftParseChat.app
    (4) SwiftParseChatTests.xctest then Next -> Save
  4. Error
    error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't open file: /Users/A/Library/Developer/Xcode/DerivedData/SwiftParseChat-azxetnbtlujdalcjoqglmhpwpjsd/Build/Intermediates/SwiftMigration/SwiftParseChat/Products/Debug-iphonesimulator/SwiftParseChat.app/Frameworks/Alamofire.framework/Alamofire (No such file or directory)

then Follow this
6. http://stackoverflow.com/questions/25817479/cannot-install-alamofire-in-new-xcode-project-no-such-module-alamofire

But still fews of Syntax Issues of from Objective-C to Swift Code.
E.g.
// kCFBundleExecutableKey as NSString
let executable: AnyObject = info[NSString] ?? "Unknown"

I hope some one will advise me to close the case asap.

Thanks and best regards

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

1 participant