Kodi Community Forum
[MAC] Compiling on OSX Lion / Xcode 4.1` - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [MAC] Compiling on OSX Lion / Xcode 4.1` (/showthread.php?tid=107126)

Pages: 1 2 3 4 5 6 7 8 9 10


[MAC] Compiling on OSX Lion / Xcode 4.1` - Memphiz - 2012-03-29 21:46

nope ... there is a branch called eden - this is eden version. Branch master is the current development branch which is already ahead of eden since development never stops Wink


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-03-29 22:44

heheheh, Your team is great!!!


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-03-30 19:23

New Error:

Code:
/usr/bin/curl -Ls --create-dirs --output /Users/Shared/xbmc-depends/tarballs/libcec-1.5.2.tar.gz http://mirrors.xbmc.org/build-deps/darwin-libs/libcec-1.5.2.tar.gz
rm -rf libcec-1.5.2
tar xf /Users/Shared/xbmc-depends/tarballs/libcec-1.5.2.tar.gz
echo libcec-1.5.2 > .gitignore
cd libcec-1.5.2; autoreconf -vif
Useless use of /d modifier in transliteration operator at /usr/bin/../share/automake-1.10/Automake/Wrap.pm line 60.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
glibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
configure.ac:10: error: possibly undefined macro: AC_MSG_WARN
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
make[1]: *** [libcec] Error 1
make: *** [libcec] Error 2

BR


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-03-30 21:15

git up


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-04-03 15:28

(2012-03-30 21:15)davilla Wrote:  git up

Done:

Code:
rm -rf libcec-1.5.2
tar xf /Users/Shared/xbmc-depends/tarballs/libcec-1.5.2.tar.gz
echo libcec-1.5.2 > .gitignore
cd libcec-1.5.2; autoreconf -vif
Useless use of /d modifier in transliteration operator at /usr/bin/../share/automake-1.10/Automake/Wrap.pm line 60.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
glibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
glibtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
configure.ac:10: error: possibly undefined macro: AC_MSG_WARN
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
make[1]: *** [libcec] Error 1
make: *** [libcec] Error 2



RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-04-13 23:28

No idea?


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-04-14 18:44

/usr/bin/autoconf, this should be using the versions in depends.


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-04-15 10:56

I'm sorry davilla, but I don't understand u, what I have to do?

PS: I did a "make distclean" to compile all again, but I haven't any success Sad


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-05-27 15:19

Hello again,

I'm trying to compile xbmc for the New iPad, but i've got this error at the final step:

Code:
kaya:xbmc i5Js$ xcodebuild -project XBMC-IOS.xcodeproj -target XBMC -configuration Release build ONLY_ACTIVE_ARCH=YES ARCHS=armv7 VALID_ARCHS=armv7 IPHONEOS_DEPLOYMENT_TARGET=4.1 SDKROOT=iphoneos4.3
Build settings from command line:
    ARCHS = armv7
    IPHONEOS_DEPLOYMENT_TARGET = 4.1
    ONLY_ACTIVE_ARCH = YES
    SDKROOT = iphoneos4.3
    VALID_ARCHS = armv7


=== BUILD NATIVE TARGET XBMC OF PROJECT XBMC-IOS WITH CONFIGURATION Release ===
Check dependencies
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 4.3'
[BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 4.3'
warning: iPhone apps should include an armv6 architecture (current ARCHS = "armv7").
[BWARN]warning: iPhone apps should include an armv6 architecture (current ARCHS = "armv7").
** BUILD FAILED **

Somebody can help me with this??

Thanks in advance,,

Best regards


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-05-27 16:42

either hack xcode to work around code signing or get a developer ID.

http://www.alexwhittemore.com/developing-jailbroken-iphone-ios-401/


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-05-27 16:48

Thanks Davilla, I'll try it.


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-05-27 18:02

Well,I've followed the instructions, but I've got his error at the end of compiling:

Code:
/bin/sh -c /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh

iPhone Developer: no identity found
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch build/Release-iphoneos/XBMC.app
    cd /Users/i5Js/xbmc
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:
/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin"
    /usr/bin/touch -c /Users/i5Js/xbmc/build/Release-iphoneos/XBMC.app

** BUILD FAILED **


The following build commands failed:
XBMC:
    PhaseScriptExecution codesign /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh
(1 failure)

Any ideas?

BR


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-05-27 18:45

you erred in creating the cert and did not use the name 'iPhone Developer'


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - i5Js - 2012-05-27 19:36

(2012-05-27 18:45)davilla Wrote:  you erred in creating the cert and did not use the name 'iPhone Developer'

Thanks again Davilla... New error Huh

Code:
/bin/sh -c /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh

/Users/i5Js/xbmc/build/Release-iphoneos/XBMC.app/: User interaction is not allowed.
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1
Touch build/Release-iphoneos/XBMC.app
    cd /Users/i5Js/xbmc
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/opt/local/bin:/opt/local/sbin
:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin"
    /usr/bin/touch -c /Users/i5Js/xbmc/build/Release-iphoneos/XBMC.app

** BUILD FAILED **


The following build commands failed:
XBMC:
    PhaseScriptExecution codesign /Users/i5Js/xbmc/build/XBMC-IOS.build/Release-iphoneos/XBMC.build/Script-3234980612AF0B3400657FF1.sh
(1 failure)

BR


RE: [MAC] Compiling on OSX Lion / Xcode 4.1` - davilla - 2012-05-27 19:41

http://imame4all.googlecode.com/svn-history/r78/trunk/readme_xcode.txt