1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

Trouble Building in Xcode

Development talk only
Post Reply
ams123
Posts: 24
Joined: 07 Jan 2016, 21:44

Trouble Building in Xcode

Post by ams123 »

I am missing PRODUCT_BUNDLE_IDENTIFIER

But I think that is the result of the missing info.plist even thought I have use the selcted the info.plist file under the target/identity.

I am also missing Commmon.xcconfig

During he configuration both

$ make clean
$ make xcode_depends

failed with "make: *** No rule to make target"
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Trouble Building in Xcode

Post by davilla »

make -C tools/depends/xbmc
ams123
Posts: 24
Joined: 07 Jan 2016, 21:44

Re: Trouble Building in Xcode

Post by ams123 »

davilla wrote: 22 Mar 2018, 18:48 make -C tools/depends/xbmc
No such file or directory.

make -C tools/depends/target/xbmc
runs with error:

Code: Select all

configure: error: Could not find a required library. Please see the README for your platform.
make: *** [../../../..//libMrMC.so] Error 1
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Trouble Building in Xcode

Post by davilla »

you did not buiid depends. Which means you did not read the readme's.

tools/depends/README

docs/README.ios
docs/README.android

MrMC is a very difficult application to build. As are it's forks (Kodi/SPMC).
ams123
Posts: 24
Joined: 07 Jan 2016, 21:44

Re: Trouble Building in Xcode

Post by ams123 »

davilla wrote: 22 Mar 2018, 19:34 you did not buiid depends. Which means you did not read the readme's.

tools/depends/README

docs/README.ios
docs/README.android

MrMC is a very difficult application to build. As are it's forks (Kodi/SPMC).
Read the ios readme but never not the depends, not sure where that was referenced. Only difference was to rerun as 64 bit since 32 bit is not longer supported. Regardless same results.

Seems to require Java, which I installed, is there some specific setup required there?
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Trouble Building in Xcode

Post by davilla »

depends build

./bootstrap

./configure --host=arm-apple-darwin --with-tarballs=/Users/Shared/tarballs --prefix=/Users/Shared/mrmc-depends --with-cpu=arm64

./configure --host=arm-apple-darwin --with-tarballs=/Users/Shared/tarballs --prefix=/Users/Shared/mrmc-depends --with-cpu=arm64 --with-platform=tvos

java is required.

if depends build fails, have to figure why, then make distclean and try again. We build under 10.13 and Xcode9 (9C40b). Xcode 8 is not supported, nor any beta Xcode versions.
eugene28
Posts: 2
Joined: 27 Jul 2019, 13:33

Re: Trouble Building in Xcode

Post by eugene28 »

Hi. So whats the commands would be for dependancies built. Just tried

Code: Select all

./bootstrap
./configure --host=arm-apple-darwin --with-tarballs=/Users/Shared/tarballs --prefix=/Users/Shared/mrmc-depends --with-cpu=arm64
./configure --host=arm-apple-darwin --with-tarballs=/Users/Shared/tarballs --prefix=/Users/Shared/mrmc-depends --with-cpu=arm64 --with-platform=tvos
make
all went good, but when I executed

Code: Select all

make -C tools/depends/target/xbmc
It is ended up with

Code: Select all

mkdir -p xbmc/interfaces/python/generated
/Users/Shared/mrmc-depends/buildtools-native/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmc.i
:1: Error: Unable to find 'swig.swg'
make[1]: *** [xbmc/interfaces/python/generated/AddonModuleXbmc.xml] Error 1
make: *** [../../../..//libMrMC.so] Error 2
MacBook-Pro-Late-13:MrMC eugene$ make -C tools/depends/target/xbmc
cd ../../../../; SWIG_LIB=/Users/Shared/mrmc-depends/appletvos12.2_arm64-target/../x86_64-linux-gnu-native/share/swig/3.0.10 BOOTSTRAP_FROM_DEPENDS=yes ./bootstrap
make[1]: Nothing to be done for `all'.
mkdir -p xbmc/interfaces/python/generated
/Users/Shared/mrmc-depends/buildtools-native/bin/swig -w401 -c++ -o xbmc/interfaces/python/generated/AddonModuleXbmc.xml -xml -I./xbmc -xmllang python xbmc/interfaces/swig/AddonModuleXbmc.i
:1: Error: Unable to find 'swig.swg'
Before I used

Code: Select all

$ ./configure --host=arm-apple-darwin --with-cpu=arm64 --with-platform=tvos
$ make
and later built xcode dependancies succesfully. But had loads of errors when tried to compile within Xcode.
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Trouble Building in Xcode

Post by davilla »

is /Users/Shared/mrmc-depends/buildtools-native/bin/swig present ?
eugene28
Posts: 2
Joined: 27 Jul 2019, 13:33

Re: Trouble Building in Xcode

Post by eugene28 »

yes
User avatar
davilla
Team MrMC
Posts: 4377
Joined: 26 Oct 2015, 17:01

Re: Trouble Building in Xcode

Post by davilla »

nuke it all back to as from git

# removes any files that are not in the repo
git clean -xfd

it gets confused sometimes.
Post Reply