Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: Tibor on March 10, 2024, 10:20:00 AM

Title: [CLOSED] Error with Playmaker 1.9.8 when building for iOS
Post by: Tibor on March 10, 2024, 10:20:00 AM
Hello. When I'm importing Playmaker 1.9.8 to a Project in Unity 2022.3.21f1, I get the following error when I want to archive the iOS Build in Xcode:

/Users/xy/Documents/Unity Projekte/Projekt xy/Builds/iOS/clang:1:1 no such file or directory: '/Users/xy/Documents/Unity Projekte/Projekt xy/Builds/iOS/Il2CppOutputProject/Source/il2cppOutput/dummy.cpp'

Before importing Playmaker to the project, everything worked fine. I also updated an older Project to Unity 2022.3.21f1, but left Playmaker on 1.9.5. and there everything works fine.

What can I do, to fix the problem with Playmaker 1.9.8? (I already tried to make the project new. But as soon as I import Playmaker 1.9.8, I get the problem again.) Thanks.
Title: Re: Error with Playmaker 1.9.8 when building for iOS
Post by: Alex Chouls on March 10, 2024, 05:39:17 PM
I just tested with 1.9.8 and Unity 2022.3.21f1 and was able to build and archive.

I haven't seen this error before so I'll need to investigate. I saw some reports (not Playmaker related) of this happening when making an iOS build in Windows instead of OSX. Are you building in Windows by any chance?
Title: Re: Error with Playmaker 1.9.8 when building for iOS
Post by: Tibor on March 10, 2024, 06:32:52 PM
No, I'm working with macOS Sonoma (14.2.1). Thanks for looking at this.

Could you please test with 1.9.8 and Unity 2022.3.21f1 by using the 3D Mobile Template? Because I just found out, that the standard 3D Template also works on my Mac with Playmaker 1.9.8.

But I already spent a few days of work on my project that I started with the 3D Mobile Template and it would be great, if this could be fixed.
Title: Re: Error with Playmaker 1.9.8 when building for iOS
Post by: Alex Chouls on March 11, 2024, 03:01:24 PM
I'll look into it. Are you able to build and archive the 3D Mobile Template without Playmaker?
Title: Re: Error with Playmaker 1.9.8 when building for iOS
Post by: Tibor on March 11, 2024, 04:24:40 PM
Yes, it works without Playmaker.
Title: Re: Error with Playmaker 1.9.8 when building for iOS
Post by: Alex Chouls on March 12, 2024, 09:01:29 PM
I'm able to build and archive with the 3D Mobile Template and 1.9.8.

Maybe try a clean build to a new directory? It's a strange error that I haven't seen before. It does return a few results in the Unity forums, but not many answers.

EDIT: What version of Xcode are you using?
Title: Re: Error with Playmaker 1.9.8 when building for iOS
Post by: Tibor on March 14, 2024, 10:05:03 AM
Xcode 15.3.

I have now migrated my project to the Standard 3D Template and can continue working. You can consider my request closed. Thanks again for your help.