playMaker

Author Topic: Apple TV, tvOS, Xcode build errors[SOLVED]  (Read 4733 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Apple TV, tvOS, Xcode build errors
« Reply #15 on: February 14, 2016, 11:47:52 PM »
Hi,

 also, now I think this patch is included on the Asset Store version, so try first with the latest verison of PlayMaker.

Bye,

 Jean

Lars Steenhoff

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #16 on: February 23, 2016, 07:54:34 PM »
Alex did you deploy on the device without errors?

I just tried building to Apple tv with unity 5.4.0.b7 and Xcode Version 7.3 beta 3

I used playmaker from the asset store and applied the patch you made earlier.

any idea what I could be doing wrong?

Quote
PlayerSettings Validation: Requested build target group (15) doesn't exist; #define symbols for scripting won't be added.
UnityEditor.PlayerSettings:SetScriptingDefineSymbolsForGroup(BuildTargetGroup, String)

Quote
Assets/PlayMaker/Actions/ActivateGameObject.cs(9,43): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #17 on: February 23, 2016, 08:35:49 PM »
Hi, yeah I deployed to the device without errors.

From the error it seems like it could be a problem with build platforms defined in the 5.4 beta. You can delete PlaymakerDefines.cs to bypass that error which is probably causing the other errors...

Lars Steenhoff

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #18 on: February 24, 2016, 04:18:50 AM »
I deleted the PlaymakerDefines.cs and that error is no longer showing,

the other errors are still there:

Quote
Assets/PlayMaker/Actions/ActivateGameObject.cs(9,43): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?

and a couple more in the list, I will see of I can delete more until the errors stop.


I'm using tvOS 9.2 beta 3, don't know if that has anything to do with it.
I can build to it without playmaker installed.
« Last Edit: February 24, 2016, 04:21:47 AM by Lars Steenhoff »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #19 on: February 24, 2016, 09:41:17 AM »
"The type or namespace name `FsmStateAction' could not be found" means the Playmaker dlls are not loaded. Check your plugin import settings. Select Assets\Plugins\PlayMaker\PlayMaker.dll and make sure tvOS is checked.

Are you able to build in 5.3? There could be issues with the 5.4 beta.

Lars Steenhoff

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #20 on: February 24, 2016, 04:08:52 PM »
Yes you are correct, for some reason the tvOS check box was disabled on the playmaker.dll

Thanks for pointing me in the right direction I would not have found it there.

Now it's working :)


I only have a minor warning in the unity console

Quote
SetLogCallbackDefined is not allowed to be called during serialization, call it from Awake or Start instead. Called from script 'FsmEditorWindow' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Application:add_logMessageReceived(LogCallback)
HutongGames.PlayMakerEditor.FsmDebugger:.ctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:51)
HutongGames.PlayMakerEditor.FsmDebugger:.cctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:22)



I did delete PlayMakerDefines.cs that cleared up the other warnings.
« Last Edit: February 24, 2016, 04:12:37 PM by Lars Steenhoff »

Lars Steenhoff

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #21 on: February 28, 2016, 05:23:22 AM »
Any Idea how I can remove this warning?


Quote
SetLogCallbackDefined is not allowed to be called during serialization, call it from Awake or Start instead. Called from script 'FsmEditorWindow' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Application:add_logMessageReceived(LogCallback)
HutongGames.PlayMakerEditor.FsmDebugger:.ctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:51)
HutongGames.PlayMakerEditor.FsmDebugger:.cctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:22)

addonsolutions

  • Playmaker Newbie
  • *
  • Posts: 2
  • Web and Mobile App Development
    • View Profile
    • Mobile App Development Company
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #22 on: March 10, 2016, 12:56:20 AM »
Has anybody had fortunes with apple TV? I'd like to take a stab at working to mine yet I have a feeling that it would be a big deal venture.. besides I have to find out about Xcode. Before spending a week on this, versus say getting touch versatile working.. it'd be cool to know whether anybody has had achievement.

Lars Steenhoff

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Re: Apple TV, tvOS, Xcode build errors[SOLVED]
« Reply #23 on: March 15, 2016, 04:23:05 PM »
@addonsolutions

Yes I can get playmaker to work quite nicely on apple tv with the latest playmaker beta.