GithubHelp home page GithubHelp logo

Comments (8)

tuarua avatar tuarua commented on July 19, 2024

When you say not able to compile, do you get an error ?
Or is the ane not being created ?

from swift-ios-ane.

rodrigogermanlopez avatar rodrigogermanlopez commented on July 19, 2024

I'm talking about the XCode Porject itself... the .a file is "red" i can't open it... anyway, all the XCode exceeds my knowledge :P so I'm pretty sure I'm missing something.
Just wanna try to implement some functionality in Swift and compile the ANE. I'm just missing the workflow.

from swift-ios-ane.

tuarua avatar tuarua commented on July 19, 2024

The .a is the static library that is compiled when you build the project. It's not a file you open.
I understand your eagerness to try this stuff out but there are no shortcuts. You need to put in the time and effort to learn the basics of Xcode, what a static library is, what a framework is, building a simple iOS app etc. I don't mean to sound harsh.
I used https://www.udemy.com and https://www.raywenderlich.com/ when starting out with iOS development.

from swift-ios-ane.

rodrigogermanlopez avatar rodrigogermanlopez commented on July 19, 2024

Don't worry about it, no offense taken. I'm saying that I'm not able to "Open in Finder" (open the location) of the .a file, cause apparently, it is not being generated. Although I have no errors.
Anyways, as I said before, this is just ignorance from my end and not a "repo" issue, you should definitely close the ticket.

from swift-ios-ane.

tuarua avatar tuarua commented on July 19, 2024

To build the .a and the frameworks Select the "SwiftIOSANE_LIB" target from the drop down and click Cmd+B to build the debug version
Then Cmd+Shift+I to build the release version.

from swift-ios-ane.

rodrigogermanlopez avatar rodrigogermanlopez commented on July 19, 2024

Thanks for the tip! I feel ashamed :D
Idk if using this as a "forum" is valid. I struggled with the default building path for XCode, that was why the compilation was failing, as it calls build_ios.sh and all the build folders were empty :)
Anyway, I managed to compile the ANE, i will start digging into it now.
Thanks for the help!

from swift-ios-ane.

tuarua avatar tuarua commented on July 19, 2024

np have fun digging

from swift-ios-ane.

rodrigogermanlopez avatar rodrigogermanlopez commented on July 19, 2024

Maybe another silly mistake, but I was able to run the project on the simulator, amazing job btw!!
But when testing on the device (device Run configuration) the app crashes automatically.
Here's the XCode Console log:
https://dl.dropboxusercontent.com/u/21621726/anelog.txt

from swift-ios-ane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.