Enterprise build error after updating to newer version

Hi all…first of all, sorry for my English

I got stuck in this problem, and I wish someone can help me :slight_smile:

so here is my case:

Im developing a game  using corona 2013.2093 and everything is fine…

After that, I want to use corona enterprise for several purpose…First, I used old corona enterprise (CoronaEnterprise.2013.1170), the build process is success but of course a runtime error appear since my code is using graphics 2.0 and CoronaEnterprise.2013.1170 still not support graphics 2.0, but at least, the build process is success…

after that, I update the my corona enterprise become the same version as my Corona Simulator, CoronaEnterprise.2013.2093. and the problem appear… I can’t built the project using this newer version, but the ProjectTemplates runs fine.

The way im updating it, is simply follow the instruction by replacing my CoronaEnterprise folder in Applications.

When I uninstall it, and install older version CoronaEnterprise.2013.1170, the build progress is success, and sure the runtime error about graphics 2.0 is appear.

here is the error message when I tried to build using CoronaEnterprise.2013.2093

 "\_CVOpenGLESTextureCacheCreate", referenced from: -[AVCaptureController setup] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_CVOpenGLESTextureCacheCreateTextureFromImage", referenced from: -[AVCaptureController captureOutput:didOutputSampleBuffer:fromConnection:] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_CVOpenGLESTextureCacheFlush", referenced from: -[AVCaptureController cleanUpTextures] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_CVOpenGLESTextureGetName", referenced from: -[AVCaptureController bind:] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_CVOpenGLESTextureGetTarget", referenced from: -[AVCaptureController bind:] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_CVPixelBufferGetHeight", referenced from: -[AVCaptureController captureOutput:didOutputSampleBuffer:fromConnection:] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_CVPixelBufferGetWidth", referenced from: -[AVCaptureController captureOutput:didOutputSampleBuffer:fromConnection:] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) "\_OBJC\_CLASS\_$\_GLKView", referenced from: \_OBJC\_CLASS\_$\_EAGLView in libplayer.a(EAGLView.o) "\_OBJC\_CLASS\_$\_GLKViewController", referenced from: \_OBJC\_CLASS\_$\_AppViewController in libplayer.a(AppDelegate.o) "\_OBJC\_METACLASS\_$\_GLKView", referenced from: \_OBJC\_METACLASS\_$\_EAGLView in libplayer.a(EAGLView.o) "\_OBJC\_METACLASS\_$\_GLKViewController", referenced from: \_OBJC\_METACLASS\_$\_AppViewController in libplayer.a(AppDelegate.o) "\_kCVPixelBufferPixelFormatTypeKey", referenced from: -[AVCaptureController setup] in libplayer.a(Rtt\_IPhoneGLVideoTexture.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please help me, I really appreciate any kind of solution,

Thanks :slight_smile:

Hi,

We’re experiencing this exact same issue! Is there any updates on this? Except in our case, we’re missing these symbols for the architecture arm7 instead of i386.

Thanks

Hey DragonGameStudio,

So I did some quick googling and I found that the missing symbols belong to the following frameworks:

  • CoreMedia

  • CoreVideo

  • GLKit

So you’ll need to include them in your old project. However, once I’ve included these so the application actually builds, I get this error instead:

2014-02-04 16:23:03.632 App[93726:1fd03] -[UIView setupContext:]: unrecognized selector sent to instance 0xb22ce20

So clearly that didn’t fix everything. Is there a guide somewhere for migrating an old Corona Enterprise project to the newer versions?

Thanks,

EWG

Hey eyeswidecorona01,

Thanks for the info, I’ll take a look and try it :slight_smile:

Yes Im totally agree, is it something more we need to do for migrating old Corona Enterprise to newer one??

since I read in README.html inside the Corona Enterprise folder, it says :

“If you wish to update to a new Enterprise daily build, you should simply overwrite the old CoronaEnterprise directory with the new one.”

well I did, and all those errors appear :wacko:

Hey eyeswidecorona01,

I tried to import

  • CoreMedia

  • CoreVideo

  • GLKit

as u mentioned, and everything run very well for me! thanks alot!!!

about ur other error "-[UIView setupContext:]: unrecognized selector sent to instance 0xb22ce20" maybe something wrong in ur code? since now everything is ok for me…

so what I did is, I replaced my old Corona Enterprise with the new one, and add those 3 frameworks

Thanks alot :slight_smile:

Hi,

Just in case anyone else has the [UIView setupContext:] issue, we upgraded our Enterprise to the daily build 2142 and that addressed that issue without having to make any further changes.

Thanks!

Hi,

We’re experiencing this exact same issue! Is there any updates on this? Except in our case, we’re missing these symbols for the architecture arm7 instead of i386.

Thanks

Hey DragonGameStudio,

So I did some quick googling and I found that the missing symbols belong to the following frameworks:

  • CoreMedia

  • CoreVideo

  • GLKit

So you’ll need to include them in your old project. However, once I’ve included these so the application actually builds, I get this error instead:

2014-02-04 16:23:03.632 App[93726:1fd03] -[UIView setupContext:]: unrecognized selector sent to instance 0xb22ce20

So clearly that didn’t fix everything. Is there a guide somewhere for migrating an old Corona Enterprise project to the newer versions?

Thanks,

EWG

Hey eyeswidecorona01,

Thanks for the info, I’ll take a look and try it :slight_smile:

Yes Im totally agree, is it something more we need to do for migrating old Corona Enterprise to newer one??

since I read in README.html inside the Corona Enterprise folder, it says :

“If you wish to update to a new Enterprise daily build, you should simply overwrite the old CoronaEnterprise directory with the new one.”

well I did, and all those errors appear :wacko:

Hey eyeswidecorona01,

I tried to import

  • CoreMedia

  • CoreVideo

  • GLKit

as u mentioned, and everything run very well for me! thanks alot!!!

about ur other error "-[UIView setupContext:]: unrecognized selector sent to instance 0xb22ce20" maybe something wrong in ur code? since now everything is ok for me…

so what I did is, I replaced my old Corona Enterprise with the new one, and add those 3 frameworks

Thanks alot :slight_smile:

Hi,

Just in case anyone else has the [UIView setupContext:] issue, we upgraded our Enterprise to the daily build 2142 and that addressed that issue without having to make any further changes.

Thanks!