Linux isn't a supported platform for the Xcode project target.  The process
assumes that it is running on a Mac with Xcode.  Installing cocoapods on
Linux won't work around this.  It requires a mac.

On Fri, May 21, 2021 at 3:24 AM 'P5music' via CodenameOne Discussions <
[email protected]> wrote:

> I installed ruby and CocoaPods on my Linux system (Arch Garuda) to be able
> to create the XCode snapshot project for my app. This could allow me to
> just run XCode and iOS simulator on OSX, creating the project on Linux.
>
> I launched the local build for XCode but
> I got
>
>     Please install Cocoapods in order to generate Xcode projects.  E.g.
> 'sudo gem install cocoapods'.  See https://cocoapods.org/
> java.io.IOException: Cannot run program "/usr/local/bin/pod" (in directory
> "."):
>
> the pod command is recognized from terminal
> but it seems that
> the internal configuration of maven files points to another location.
> It is reasonable. This is an attempt to use cocoapods on Linux, but until
> XCode is involved, it could work.
> Am I wrong?
> How to change the maven settings so that it call the right commands?
> If it is not directly possible, could it be possible with some
> modifications from CodenameOne part?
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/ca599f54-04db-4155-8245-600b4acbc3een%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/ca599f54-04db-4155-8245-600b4acbc3een%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKUrY2r-WM0z6_y%2B2%3DBJTU36ZKEXN4tFGV6p1%2Bx-wQhMDg%40mail.gmail.com.

Reply via email to