Cocos2DXNA / cocos2d-xna

XNA Port of Cocos2d-X
www.cocos2dxna.com
227 stars 123 forks source link

iOS project references are broken #428

Closed doubleday closed 10 years ago

doubleday commented 10 years ago

Because of me not looking properly I thought a refactoring in monogame broke the ios build but it seems its only the project files:

In cocos2d-xna.iOS.sln:

MonoGame.Framework.Net.iOS points to      
MonoGame.Framework\MonoGame.Framework.Net.iOS.csproj

which should be

MonoGame\MonoGame.Framework\MonoGame.Framework.Net.iOS.csproj

The same is true for the test project

Also test project does not compile because of a couple of missing files:

In tests.iOS.csproj:

<Compile Include="classes\tests\MotionStreakTest\LightningStreakTest.cs" />
<Compile Include="classes\tests\ParallaxTest\ParallaxScrollTest.cs" />

in cocos2d.iOS.csproj

<Compile Include="misc_nodes\CCLightningStreak.cs" />
<Compile Include="Math\CCLightningTrack.cs" />

Also Game1 refused to compile so I had to

-#if WINRT || WINDOWS_STOREAPP || WINDOWS_PHONE8
+#if WINRT || WINDOWS_STOREAPP || WINDOWS_PHONE8 || IOS

Note all this is in Xamarin Studio.

totallyeviljake commented 10 years ago

That should do it! Thanks a bunch for the extra eyes on iOS. Not sure why I didn't see these errors ...