Feb 2, 2016 14:07
ok ttfn
Feb 2, 2016 14:07
add your movie file to it
Feb 2, 2016 14:06
anyway theres a copy files build step there somewhere
Feb 2, 2016 14:06
ok
Feb 2, 2016 14:05
sounds like cocos2d-x?
Feb 2, 2016 14:04
if you haven't arranged for the movie file to be copied into the app bundle during the build it will not magically appear there
Feb 2, 2016 14:04
no because it cannot find the movie file in the app bundle.
Feb 2, 2016 14:03
check more of the build log entries to find out where it is
Feb 2, 2016 14:03
The actual app bundle should be in a directory ending with .app though
Feb 2, 2016 14:02
im not really sure then. start by debugging and confirming if filepath == nil and then check you are attempting to find the right file. Also stop using file-related NSBundle methods and use the ones that return NSURL directly.
Feb 2, 2016 14:01
That's because Library is hidden. Use chflags nohidden ~/Library to unhide it.
Feb 2, 2016 13:51
expand the "linker" related line and it should show where it's build the app bundle to.
Feb 2, 2016 13:47
you can probably get clue from the build logs
Feb 2, 2016 13:47
yep
Feb 2, 2016 13:43
but Xcode will build it into ~/Library. Find out where it is and open it in Finder
Feb 2, 2016 13:42
find the app bundle on your drive and check the file is in there
Feb 2, 2016 13:41
so filepath == nil would suggest the file is not in your app bundle or you are not looking for it correctly
Feb 2, 2016 13:41
ok one thing at a time
Feb 2, 2016 13:40
this is documented in the NSURL class reference
Feb 2, 2016 13:40
let me hazard a guess: filepath == nil
Feb 2, 2016 13:39
hello larme - all welcome here :)
Feb 2, 2016 13:38
in the debugger type 'bt' and post the output
Feb 2, 2016 13:37
you will need to look at the stack trace
Feb 2, 2016 13:37
ok
Feb 2, 2016 13:36
hello
 
Aug 11, 2015 09:07
i need to go. good luck
Aug 11, 2015 09:07
i dont understand
Aug 11, 2015 09:06
you've checked via Terminal.app or Finder?
Aug 11, 2015 09:04
And '/Users/devunne-mac2/Library/Developer/Xcode/DerivedData/SuperantZ-hftpysylqrrbj‌​oanrgzctdxelpxr/Build/Products/Debug-iphonesimulator/SuperantZ.app/SuperantZ' actually exists?
Aug 11, 2015 09:02
i need to see the complete linker command line (from the build log)
Aug 11, 2015 09:01
hello
Aug 11, 2015 09:01
Please post the complete linker command line.
Aug 11, 2015 09:01
It's not helpful. Does the file exist? Does the project/target name match the file/path names? Only you know these things.
Aug 11, 2015 09:01
hftpysylqrrbjoanrgzctdxelpxr
 
Apr 28, 2015 10:12
bye then
Apr 28, 2015 10:12
OK, whatever. I'm not arguing with you.
Apr 28, 2015 10:11
If you say so.
Apr 28, 2015 10:10
yeah but it's not clear why someone would suddenly start running nm on CoreMotion.framework.
Apr 28, 2015 10:09
hello
Apr 28, 2015 10:09
So your answer is "read the documentation"?
Apr 28, 2015 10:09
But it doesn't tell anyone that the symbol will be found in the CoreMotion framework.
Apr 28, 2015 10:09
Except you don't. You have just confirmed what the linker is already telling you and it doesn't help anyone find out where the symbol is defined.
Apr 28, 2015 10:09
Or you could just remember to Google Everything™. That works too.
 
Mar 16, 2015 11:27
I seem unable to explain myself and I will let someone else take over.
Mar 16, 2015 11:26
Your question is not complete.
Mar 16, 2015 11:26
OK - I must be missing something here.
Mar 16, 2015 11:25
Why? How can another thread get a reference to an object that hasn't even finished being initialised?
Mar 16, 2015 11:25
No, because there is no reference anywhere until init has returned
Mar 16, 2015 11:23
So you've answered your question; other threads can see property set in init, but not until it's returned. The nonatomic keyword doesn't affect the situation here.
Mar 16, 2015 11:21
it's impossible for the other thread to even see the reference to the object until init has returned.