Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Release Build with XCode 7

    SDK Help
    0
    5
    501
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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??

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post