Release Build with XCode 7

On 05/11/2016 at 12:59, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R17 
Platform:      Mac OSX  ; 
Language(s) :     C++  ;

---------
A quick stupid question: I'm developing on Windows, so not familiar with OSX and XCode. I just need to know how to build a release with XCode 7. Build? Archive? Build For...? That drives me crazy! In XCode 4.2 I used "Build for Archiving" and got a complete binary. What do I use in XCode 7?

Thanks in advance.

Best,
Klaus

On 06/11/2016 at 00:49, xxxxxxxx wrote:

Originally posted by xxxxxxxx

<ADDRESS>
User Information:
Cinema 4D Version:   R17 
Platform:     
Mac OSX  ; 
Language(s) :    
C++  ;

---------
</ADDRESS> A quick stupid question: I'm developing on Windows, so not familiar with OSX and XCode. I just need to know how to build a release with XCode 7. Build? Archive? Build For...? That drives me crazy! In XCode 4.2 I used "Build for Archiving" and got a complete binary. What do I use in XCode 7?

Thanks in advance.

Best,
Klaus

Assuming you use the cinema4dsdk project, go to the menu:

Product -> Build

or simpler: Cmd-B

Best regards,

Wilfried

On 06/11/2016 at 08:35, xxxxxxxx wrote:

OK, thank you. So the resulting dylib of the whole cinema4dsdk is just 615 KB!? Is that really a complete binary??

On 06/11/2016 at 10:19, xxxxxxxx wrote:

I built a cinema4dsdk.dylib of a fresh installed R15 on Mavericks with XCode 6.2. The dylib is 1.5 MB. In my post above I built the sdk with XCode 7 on El Capitan (also fresh installed R15) and it is just 615 KB.

Please help. I'm really confused, also concerning the target displayed on top: "My Mac" doesn't look like a general release version.

Thanks

On 07/11/2016 at 00:45, xxxxxxxx wrote:

Originally posted by xxxxxxxx

I built a cinema4dsdk.dylib of a fresh installed R15 on Mavericks with XCode 6.2. The dylib is 1.5 MB. In my post above I built the sdk with XCode 7 on El Capitan (also fresh installed R15) and it is just 615 KB.

Please help. I'm really confused, also concerning the target displayed on top: "My Mac" doesn't look like a general release version.

Thanks

I can't tell you about the size on R15, but for R18 the release build with Xcode 7.3.1 creates a dylib of about 770 kb, or a 2.2 MB debug dylib.

The build configuration can be changed via menu:
Product -> Scheme -> Edit Scheme ... -> Info Tab -> Build configuration popup

or faster:

Cmd-Alt-R and then going into Info Tab -> Build configuration popup

Best regards,

Wilfried