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.

Can't compile mrmc on Xcode 7.1

Report any issues you might have in here
Post Reply
TheJmc
Posts: 28
Joined: 06 Dec 2015, 04:42

Re: Can't compile mrmc on Xcode 7.1

Post by TheJmc »

Nandor690 wrote:I'm thinking it's something Xcode is why I'm having problems with this header file not being found when I can plainly see its in the path it's suppose to be
Which platform and OS version you are trying to build MrMC for?
Nandor690
Posts: 34
Joined: 10 Dec 2015, 06:16

Re: Can't compile mrmc on Xcode 7.1

Post by Nandor690 »

I'm gonna look it up and see if Apple is still signing 9.0.1. If they are then that means we can downgrade Apple TV to it still
Nandor690
Posts: 34
Joined: 10 Dec 2015, 06:16

Re: Can't compile mrmc on Xcode 7.1

Post by Nandor690 »

TheJmc wrote:
Nandor690 wrote:I'm thinking it's something Xcode is why I'm having problems with this header file not being found when I can plainly see its in the path it's suppose to be
Which platform and OS version you are trying to build MrMC for?
tvOS 9.1 Xcode 7.1.1
But I'm trying to build successfully in simulator first. That may be my problem. I'm still learning Xcode as Iv only started using it recently
TheJmc
Posts: 28
Joined: 06 Dec 2015, 04:42

Re: Can't compile mrmc on Xcode 7.1

Post by TheJmc »

Nandor690 wrote:But I'm trying to build successfully in simulator first. That may be my problem. I'm still learning Xcode as Iv only started using it recently
I'm trying too, but got several missing files, though they are present in their respective folders.
Nandor690
Posts: 34
Joined: 10 Dec 2015, 06:16

Re: Can't compile mrmc on Xcode 7.1

Post by Nandor690 »

TheJmc wrote:
Nandor690 wrote:But I'm trying to build successfully in simulator first. That may be my problem. I'm still learning Xcode as Iv only started using it recently
I'm trying too, but got several missing files, though they are present in their respective folders.

Maybe it is the simulator then.
TheJmc
Posts: 28
Joined: 06 Dec 2015, 04:42

Re: Can't compile mrmc on Xcode 7.1

Post by TheJmc »

Adding the following folder from Xcode 7.2 to Xcode 7.1.1 did the trick.

Code: Select all

/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/DeviceSupport/9.1 (13U78)
I have been able to build and sideload my test app on Apple TV 4 running 9.1, but MrMC project refuses to accept my code signing identity... :(
The selected team does not have a program membership that is eligible for this feature. If you need assistance, please contact Apple Developer Program Support.
https://developer.apple.com/support
I've tried to remove and add my dev account, but still the same...

Edit: I fixed the signing issue by replacing the MrMC.xcodeproj (got corrupted for unknown reason) with a new one from the latest mmc-master.zip.
Last edited by TheJmc on 11 Dec 2015, 08:20, edited 3 times in total.
starphone2015
Posts: 2
Joined: 10 Dec 2015, 20:39

Re: Can't compile mrmc on Xcode 7.1

Post by starphone2015 »

Hi,

Finally after reading all the compilation issue. I manage to compile myself.

I compile just for the sake of learning (Purchased the mrmc early morning to support the developer).


Here is the pre-req:
1. Make sure your Apple TV is tvos 9.0 (9.1 will not work since you could not push xcode 7.1 to tvos9.1).
Note: You can still downgrade your Apple TV from TVOS9.1 to TVOS9.0 (I did this about 1 hour ago)
2. Make sure your Xcode is 7.1 not 7.2
3. You can only run the mrmc on the actual device, on simulator it will not compile (missing tinyxml.h eventhough its exists on the target directory - No time to debug now).
4. I download the .zip file from github (I did not clone the whole repository since its quite big so I only download the latest master mrmc-master.zip)
5. If you encountered problem and would like to follow this guide, just redownload the latest mrmc-master.zip from the github and unzip it to a new directory (mrmc2, mrmc3,etc) and see if it works.

These are the commands that I used to compile:

1. Modify $HOME/MrMc/tools/depends/target/pcre"
Changed the BASE_URL in the Makefile to "http://ftp.cs.stanford.edu/pub/exim/pcre" (Thanks A.Coward)

Now we are ready to execute all the commands:

$ cd $HOME/MrMC
$ cd tools/depends
$ ./bootstrap
$ ./configure --host=arm-apple-darwin --with-cpu=arm64 --with-platform=tvos
$ make //Prepare to wait for 1 hour++ (depends on how fast your machine)

$ cd $HOME/MrMC
$ make -C tools/depends/target/xbmc
$ make clean
$ make xcode_depends

2. Open Xcode now and open the project
a. Change the product identifier to your name
b. Change the signing ID to your Apple ID
c. Connect your Apple TV using USB-C to your mac
d. Ready to build to your apple tv now

Done.

PS:
Some errors:
tinyxml.h --> this is because you build for Simulator
Could not find Developer Disk --> Your Apple TV is 9.1 -> Please downgrade it to 9.0 until mrmc team fixed the code.

Hopefully my experience can help others.
Last edited by starphone2015 on 11 Dec 2015, 07:59, edited 1 time in total.
TheJmc
Posts: 28
Joined: 06 Dec 2015, 04:42

Re: Can't compile mrmc on Xcode 7.1

Post by TheJmc »

starphone2015 wrote:$ make //Prepare to wait for 1 hour++ (depends on how fast your machine)
I think you forgot one step to make the add ons, right after "$ make"

Code: Select all

 $ make -C target/binary-addons

Code: Select all

NOTE: You can speedup compilation on multicore systems by doing 
 "make -j<number of cores>" instead of "make". For a dualcore this would read:
 "make -j2"
starphone2015 wrote:Could not find Developer Disk --> Your Apple TV is 9.1 -> Please downgrade it to 9.0 until mrmc fixed the code.
You can build apps for 9.1 tvOS with Xcode 7.1.1

Check my previous comment.
Nandor690
Posts: 34
Joined: 10 Dec 2015, 06:16

Re: Can't compile mrmc on Xcode 7.1

Post by Nandor690 »

TheJmc wrote:Adding the following folder from Xcode 7.2 to Xcode 7.1.1 did the trick.

Code: Select all

/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/DeviceSupport/9.1 (13U78)
Awesome! I thought this would work. I'm almost off work so I'll be doing this again in a little bit

I have been able to build and sideload my test app on Apple TV 4 running 9.1, but MrMC project refuses to accept my code signing identity... :(
The selected team does not have a program membership that is eligible for this feature. If you need assistance, please contact Apple Developer Program Support.
https://developer.apple.com/support
I've tried to remove and add my dev account, but still the same...

Edit: I fixed the signing issue by replacing the MrMC.xcodeproj (got corrupted for unknown reason) with a new one from the latest mmc-master.zip.
Is this from the github website? Or cloning from github in terminal?
TheJmc
Posts: 28
Joined: 06 Dec 2015, 04:42

Re: Can't compile mrmc on Xcode 7.1

Post by TheJmc »

Nandor690 wrote:Is this from the github website? Or cloning from github in terminal?
From the zip in https://github.com/MrMC/mrmc
Post Reply