Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 13    Views: 125

CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
03/31/14 10:38 AM (10 years ago)

New Plugin: Brick Breaker

https://www.buzztouch.com/plugins/plugin.php?pid=F326087B2AD6E004C101441 Classic Brick Breaker game with multiple levels. Easily swap artwork with your own.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
03/31/14 11:26 AM (10 years ago)
Sweet! It looks like this plugin needs to have ARC disabled... do you have instructions on how to disable ARC on this plugin only and not the whole project with Xcode 5? I have other plugins that require it. In Xcode 4.x, it was fairly easy... just set the -fno-objc-arc flags in build phases... but in Xcode 5, there is no more build phases tab :(
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/31/14 11:43 AM (10 years ago)
Wait let me see I didnt even try it with other plugins lol. One sec . There is a build phases on xcode 5. Make sure you click on the project and the folder. Im going to submit a update in a min
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
03/31/14 11:50 AM (10 years ago)
Build target is set to 6.0, I get LVVM 5.1 error telling me that it needs to have arc disabled. Ever since my upgrade to Xcode 5.1, I've lost my build phases tab at the top of my project settings... there used to be 4 tabs at the top... now there are only 2 (info and build settings), but in build settings I don't see build phases. Here's a screenshot of my setup http://www.angryninjas.com/cloud/temp/screen331.png Try turning on arc in a project and I think you'll find that it pops the error.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/31/14 11:53 AM (10 years ago)
Thats crazy Im about to test this out.See if it shows up when you switch the device to a simulator.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/31/14 12:13 PM (10 years ago)
I still get no errors. Let me try some more plugins
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
03/31/14 12:21 PM (10 years ago)
It's not the other plugins themselves that pop the error, it's the fact that arc is turned on for those particular plugins, so basically I have arc turned on for my entire project, and just need to turn off arc for brick breaker. Not the end of the world if we don't figure out how to turn off arc on particular files/folders, but the game looks nice and I'd like to include it in my project. Before Xcode 5.1, I had a build phases tab in my project settings, where I could select the individual files and simply add a "-fno-objc-arc" flag to the plugins files to turn it off. I can't seem to figure out how to do this in the new Xcode 5.1
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/31/14 12:35 PM (10 years ago)
Can you pm your project and Ill see if I can do it. I'll see if I can add it to the plugin and upload it too. I should be able to. ------------------------------ It works fine with my other plugins without adding the arc flag.I just sent a pm with a short video on how I got to build phases.Maybe it can help but thats weird you cant I dont know.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
03/31/14 01:00 PM (10 years ago)
Cool, thanks. PM sent. HUGE project (104mb unzipped)... be careful with changing any settings, as there's over 50 plugins used in that project, so one setting in one plugin might affect something in another. It's a delicate house of cards, lol. Been working on it over 6 months now.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
03/31/14 01:25 PM (10 years ago)
Nice Coffee! But the navigation bar is empty, why is that? Edit: Is any of it connected to the control panel? :-) David https://btmods.com/chat
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
03/31/14 01:27 PM (10 years ago)
Making a little progress, found how to get into my build phases... added the flags, but still getting some "unexpected declaration" errors. I'm sure it's nothing to do with your plugin, but the unique nature of the complex app I'm working on.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/31/14 01:45 PM (10 years ago)
oh ok its because I forgot some code. its updated now. dang I thought I put that in the readme.
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
03/31/14 02:19 PM (10 years ago)
Works perfectly now :) Thanks for the awesome support CMCoffee Awesome little game.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/31/14 02:22 PM (10 years ago)
No problem. Anytime
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.