NSString *fullPath=[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Icon-72.png"];
_sprite = [CCSprite spriteWithImageNamed:fullPath]; instead of (_sprite = [CCSprite spriteWithImageNamed:@"Icon-72.png"];)
_sprite.position = ccp(self.contentSize.width/2,self.contentSize.height/2);
[self addChild:_sprite];
The Image is not showing any more after converting the project through apportable.
I have uploaded an sample project in github, Please take a look from it if needed. ( https://github.com/ITIW/Cocos2DFullPath/ )
I am using Apportable version 1.1.10 (also tested in 1.1.12 and 1.1.13). and cocos2D version 3.1
Thanks
Shaon
--
This email list is now retired. Please join us at forum.apportable.com to receive help on technical issues from our community and internal team. Thanks for using the Apportable SDK!
---
You received this message because you are subscribed to a topic in the Google Groups "Apportable discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/apportable-discuss/qpX9SR9Ff_w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to apportable-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.