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

Unable to compile with Xcode 8.3.1 #6

Closed
shanecowherd opened this issue Apr 15, 2017 · 14 comments
Closed

Unable to compile with Xcode 8.3.1 #6

shanecowherd opened this issue Apr 15, 2017 · 14 comments

Comments

@shanecowherd
Copy link
Contributor

macOS 10.12.4
Xcode 8.3.1

After running quick instructions.

Swift Compiler Error
KituraTableViewController.swift - Module file's minimum deployment target is ios10.3.

After changing the deployment target to 10.3.

Swift Compiler Error
<unknown>:0: error: missing required modules: 'CCurl', 'CHTTPParser'

I have tried recompiling Curl with Min version 10.3.
I have tried looking at header paths.

Is this something upstream in KituraNet?

Thanks!

@vadimeisenbergibm
Copy link
Member

@shanecowherd and what is the device/simulator you build the app for?

@shanecowherd
Copy link
Contributor Author

shanecowherd commented Apr 15, 2017

10.3
64Bit iPhone 7 Plus
64Bit iPhone 7
64Bit iPad Air 2

@shanecowherd
Copy link
Contributor Author

screen shot 2017-04-15 at 1 37 58 am

screen shot 2017-04-15 at 1 37 28 am

@vadimeisenbergibm
Copy link
Member

@shanecowherd OK, I see, let me handle this on Tuesday.

@isbcd
Copy link

isbcd commented Apr 26, 2017

Xcode 8.3.2 have same problem

@vadimeisenbergibm
Copy link
Member

@shanecowherd sorry for the long time it took us to fix it. @rodedz fixed it in de48561, please remove ServerSide and rerun make

@isbcd, you can try the fix with Xcode 8.3.2, I will install it and try also.

@vadimeisenbergibm
Copy link
Member

@isbcd actually, I checked with Xcode 8.3.2, works for me with the fixes in #6 (comment).

@shanecowherd
Copy link
Contributor Author

Thank you @rodedz and @vadimeisenbergibm

Confirmed Fixed. I was wondering if this was because of the changes to Swift Package Manager in Swift 3.1.

@isbcd
Copy link

isbcd commented Apr 27, 2017

@vadimeisenbergibm
It works. Thank you.

@vadimeisenbergibm
Copy link
Member

@shanecowherd I think the changes by @rodedz were to update the target of the client side to 10.3, to fix the include paths of the client project to work with the new Swift Package Manager layout (the dependencies are now in .build/checkouts and not in Packages directory).

And also to fix the ServerSide part to compile with Swift 3.1, including updating dependency versions, so dependencies also compile with Swift 3.1

@hamedmohammadi
Copy link

hamedmohammadi commented Jul 1, 2017

same error still exist for me
missing required module 'CHTTPParser'
i do all instruction listed in README with success and xcode workspace opened at the end in building process , i've got the above error
xcode :Version 8.3.3 (8E3004b)

@vadimeisenbergibm
Copy link
Member

@hamedmohammadi Fixed in the issue #11 . Just remove your Builder directory, and rerun make.

@svenyonson
Copy link

Similar problem - I am trying to build for 10.3. I set this in the build settings for ClientSide and SharedServerClient - but SharedServerClient fails saying Kitura minimum deployment target is 11.02. How can I change this and rebuild?

@vadimeisenbergibm
Copy link
Member

@svenyonson You can specify the deployment target at this line https://github.com/IBM-Swift/Kitura-HelloWorld-iOS/blob/master/Makefile#L24:

DEPLOYMENT_OS=11.2

You can also change SIMULATOR_OS and DEVICE to be able to run tests in the command line, using make test.

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

5 participants