-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
building iOS portion #6
Comments
Unfortunately, I have 0 experience with the iOS part of Flutter. I have had several problems with the I work with @AppleEducate on some other projects, where he manage the iOS aspect. Hope he could help you where I can't. I'm sorry :/ |
@bkboner I use the package in other apps. What are you trying to build for? Release mode? |
Have you added #use_frameworks! To the podfile? It is required for swift plugins |
Hi sorry, I'm not super familiar with iOS stuff. this stackoverflow says use_frameworks! isn't needed for > iOS 9? I'll give it a shot though. I have xcode Version 10.1 (10B61) installed. It sounds like I'm trying to get something to work that may have never been working to begin with. The readme led me to believe it was working with iOS:
I'll give the #use_frameworks! a try. |
It’s definitely needed. You will need to create the main project with swift and kotlin flags enabled. This project I believe was built with just objC on ios |
This project was created months ago, when I didn't know was I was doing. Is there a way I could add Swift and Kotlin support a posteriori? |
Not sure. For me I have had the best luck creating a new project and porting the /lib folder |
I've been doing some refactor on the Android, iOS & packages side of this project. Basically, I've generated a new project, and comparing both project, checking for updated done on the last few months. Hopefully it works now :) |
Right on!!!
…Sent from my iPhone
On Jan 24, 2019, at 8:31 AM, Chechu ***@***.***> wrote:
I've been doing some refactor on the Android, iOS & packages side of this project. Basically, I've generated a new project, and comparing both project, checking for updated done on the last few months.
Hopefully it works now :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Does it work to you? |
I haven’t tried it yet, I am about to try out code magic though 👌🏻 |
@bkbonner Since I think this is now solved, I'm closing this issue. If you have further iOS issues, please let me know :) |
Sorry for the delayed response. been buried with a production issue. I am testing it out tonight. Thank you for the assistance. My apologies, I'm usually more prompt than this. |
I was able to get it to work by copying over the lib and assets directory from the old project to a flutter project created with -i swift. I ran diff -rq spacex-go spacex-swift where space-go is the orig project and spacex-swift is project created with -i swift and I've attached a list of files that were different. Too many to mention. There were so many differences, it was easier to just move the lib and assets directory from the spacex-go directory to spacex-swift and it seemed to work ok. I was able to get things added to the calendar, but only after I added a null safe check to: It was blowing up when I tried to add an event that didn't have a description coming back from the data. |
Did you check if the changes made in d5f8ba3 solves this issue? |
I did not, but can pull that tonight.
btw, fwiw I noticed that you're making changes on the Master branch. In
my experiences, the master branch is usually reserved for code that has
been released to the world.
Normal development should happen on the Develop branch and then merged into
master when it's ready to be released. That way, you can proceed w/
normal development and enhancements, and if there's a bug in the released
code, you can do a hot-fix off of that master branch to fix the issue
without introducing any code from new development.
…On Thu, Jan 31, 2019 at 10:32 AM Chechu ***@***.***> wrote:
Did you check if the changes made in d5f8ba3
<d5f8ba3>
solves this issue?
Please, run git pull and let me know if I have to make further updates to
the iOS/ folder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAoweS3udGw_nOYW1eRYa25EKVoDE_kiks5vIwyggaJpZM4aLV2b>
.
|
I had copied the lib and assets directories over to a new swift based
project. I had tried to do the compare...but there were just too many
places and I didn't want to wipe out your stuff.
I will take a look. If it doesn't work, I'm happy to replace it w/ my
changes from a swift project as a pull request for you. I'm able to pull
the app up. There are still bugs, but it at least runs.
I'll let you know tonight.
On Thu, Jan 31, 2019 at 2:39 PM Brian Bonner <[email protected]>
wrote:
… I did not, but can pull that tonight.
btw, fwiw I noticed that you're making changes on the Master branch. In
my experiences, the master branch is usually reserved for code that has
been released to the world.
Normal development should happen on the Develop branch and then merged
into master when it's ready to be released. That way, you can proceed w/
normal development and enhancements, and if there's a bug in the released
code, you can do a hot-fix off of that master branch to fix the issue
without introducing any code from new development.
On Thu, Jan 31, 2019 at 10:32 AM Chechu ***@***.***> wrote:
> Did you check if the changes made in d5f8ba3
> <d5f8ba3>
> solves this issue?
> Please, run git pull and let me know if I have to make further updates
> to the iOS/ folder.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#6 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAoweS3udGw_nOYW1eRYa25EKVoDE_kiks5vIwyggaJpZM4aLV2b>
> .
>
|
In the commit I referenced in my last comment, I basically created a new Flutter project, and compared the new project with the old one, and included those changes. If there are significant and key changes between the Regarding Git, I want to take a deeper look into more complex systems, like Thank you very much! |
@jesusrp98 I will have to get back to you re: the iOS portion. There are a few things missing:
When I tried to pull up your project, it would not start and threw many errors re: locale. I can compare them at a future date, but I won't have time to do it this weekend. |
That's unfortunate, since I don't know basically anything about iOS development. Since my other project with @AppleEducate will be uploaded to the App Store, and it shares most of the structure & packages from Once again, thank you very much. |
Absolutely, once we finish the other one I can merge the iOS portion for this app. |
Hey @bkbonner, long time I don't take a look at this issue. Recently, I had the opportunity to grab a Mac mini for other projects, and now I have the change to launch SpaceX GO! as a standalone app in the App Store. I'm updating the Thanks for the support! |
I've just cloned and run the app in iOS and works flawlessly! If you need to test something I'm pleased to help you folks 😊🚀 |
@DrankoLQ hey, can you please tell me what I'm doing wrong? I only can see loading screen and seems like an error with receiving data?
|
Sorry guys flutter clean did the thing! @jesusrp98 thank you for your app! |
@vladyslav2 Glad your issue was fixed! :) I was planning to launch the iOS app in the App Store this year, but unfortunately due to time constrains, I'll instead release it in the coming months, in Q1 2020, hopefully February. More testing should be performed, like notifications, issue posting via email (available inside the 'About' screen) and a general interface inspection to check if there's anything wrong. |
I was trying to run the iOS portion and I ran into the issue described here: ja2375/add_2_calendar#4
Were you able to work around this issue?
The text was updated successfully, but these errors were encountered: