Closed apistachio closed 7 years ago
@apistachio could you please let me know the version of your iPhone and iOS?
Regarding:
Would it make sense to put the entire build under swift_package process and do way with shell scripts?
You mean the compiled curl? This way we would have to support various versions of curl and handle the license issues of curl. Anyway, you may want to fork this repository and put your compiled curl library for yourself - it is up to you which artifacts you decide to put in your source control, it is a matter of preference. This project is just an example of how one would create a Kitura/iOS server.
My phone: iPhone 5 with 10.2.1
From: Vadim Eisenberg notifications@github.com Reply-To: IBM-Swift/Kitura-HelloWorld-iOS reply@reply.github.com Date: Wednesday, March 29, 2017 at 12:45 AM To: IBM-Swift/Kitura-HelloWorld-iOS Kitura-HelloWorld-iOS@noreply.github.com Cc: apistachio apistachio@outlook.com, Mention mention@noreply.github.com Subject: Re: [IBM-Swift/Kitura-HelloWorld-iOS] Doesn't load on iPhone (#5)
@apistachiohttps://github.com/apistachio could you please let me know the version of your iPhone and iOS?
Regarding:
Would it make sense to put the entire build under swift_package process and do way with shell scripts?
You mean the compiled curl? This way we would have to support various versions of curl and handle the license issues of curl. Anyway, you may want to fork this repository and put your compiled curl library for yourself - it is up to you which artifacts you decide to put in your source control, it is a matter of preference. This project is just an example of how one would create a Kitura/iOS server.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/IBM-Swift/Kitura-HelloWorld-iOS/issues/5#issuecomment-290010285, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMydQy2IffyyD-YU0I8iVApPn7QtOAybks5rqgwLgaJpZM4MsL1Z.
@apistachio I see, we did not test it with iPhone 5. Let me check it next week.
@apistachio I have received iPhone 5, will check it on Thursday. The issue is probably related to iPhone 5 being 32-bit.
@apistachio Please perform git pull
to get the updates, remove the Builder
directory and run make openXcode32
. The issue is that iPhone 5 is 32 bit, so the 32 bit version of curl has to be used.
Confirmed Fixed when using make openXcode32
The instructions seem redundant. I followed them both (one under "building under Xcode and one under Quick Instructions"). Let's say one follows Quick Instructions. All versions are matching.
The problem: 3 curl 'issues' - two are "curl_rule_01 declared as an array with negative size" and one says could not build Objective-C module CCurl.
Since I am new to the project, I am not sure where to begin investigation or ways to resolve.
Would it make sense to put the entire build under swift_package process and do way with shell scripts?
I will add, "targeting the simulator deploys as designed - it works". The problem appears when targeting a physical phone. I don't have trouble targeting this test phone with other apps - and its odd that the link fails. I also tried downloading CCurl and pushing the binary library into the right system folder (using suggested build instructions) - that didn't help here.