rsodre

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Code signing for Yosemite #58774
    rsodre
    Participant

    So, I’m compiling with XCode 5.1.1, on 10.9.4, testing on Yosemite Developer Preview 7.
    I’m distributing the app as a download, outside the App Store.
    I don’t want Gatekkeper telling people it’s unsafe, so I need to code sign it.
    For this, I have a Mac Developer Program, created a certificate, app identifier and provisioning profile following Apple’s App Distribution Guide

    No need to sign or recompile Syphon.framework!

    On my project…
    – Target > General > Sign > NONE
    – Built Settings > Code Signing Identity > Release > “3rd Party Mac Developer Application”
    – Built Settings > Provisioning Profile > None
    – New File > Shell Script > Name it “codesign-frameworks.sh”
    – Paste the script content from here: (I just removed everything related to ENTITLEMENTS, because I don’t need a Sandbox, it’s for production)
    http://stackoverflow.com/a/11284404/360930
    – Build Phases > Add > Run Script (after Copy Files Frameworks) > Check “Run script only when installing” > Fill with “./codesign-frameworks.sh”
    – Project > Archive
    – Select the archive > Distribute > Export Developer-ID signed Application > Select your Developer ID > save it somewhere

    Now to properly test it, you need to quarantine your app. There’s two ways to do this:
    – Email the app to yourself and download the attachment on Mail.
    – Upload to some web server and download with Safari.

    Download it on your Yosemite installation, run and it should be fine.

    in reply to: Code signing for Yosemite #58773
    rsodre
    Participant

    I think this is new on XCode 6, right?

    Apple recommends do deploy apps for Yosemite still using XCode 5, and I don’t like switching my projects to a beta XCode, so I’m still on 5.

    Anyway, I just made it work on XCode 5 with a script I found.
    I’m just documenting it and will post here asap.

    in reply to: Code signing for Yosemite #58771
    rsodre
    Participant

    Hey Vade!
    Was the app was signed on Mavericks?

    in reply to: Code signing for Yosemite #58768
    rsodre
    Participant

    You’re saying that I don’t have to recompile and sign from Syphon’s project, my app’s project should sign the Syphon framework?
    Looks like it’s not happening.

    Usually I never sign, only when exporting the app for distribution. If I sign the app, it complains that Syphon is unsigned, even if it is.

    I got a message from Apple saying that apps signed on 10.8 would be rejected by Yosemite’s Gatekeeper, that’s why I’m re-signing.

    But old apps work!
    New signed apps don’t.

    I’ll install a fresh Yosemite DP7 and see what happens.

    in reply to: float textures, cpu buffer support #33076
    rsodre
    Participant

    I took a look in the float branch, not sure if I can help to properly finish it.
    For my project, I can have server and client using the same version, so I’ll try to compile and use this branch, I’ll report what happens when I do it.
    Thanks!

    in reply to: float textures, cpu buffer support #33034
    rsodre
    Participant

    Hello!

    Any news on the float texture support?

    I saw some 1-year old comment on the old google code roadmap, I will need it pretty soon, just want to know if it’s already implemented or I need to hack my way.

    Thanks!

    in reply to: Server with bad frames on Unity Pro #6361
    rsodre
    Participant

    Probably the last active material was not good for syphon.

    Now I’m going trough hell with multiple cameras, gui and fbos. ALMOST there.
    I’ll send you the sources before check in.

    • This reply was modified 8 years, 5 months ago by rsodre.
    in reply to: Server with bad frames on Unity Pro #6358
    rsodre
    Participant

    Found the problem, we need this after Graphics.Blit() on SyphonServerTexture.cs:

    Syphon.SafeMaterial.SetPass(0);

    To understand it, I did a good polish on this script.
    I’m also fixing some GUI problems I’m having and will check in after I finish my project.

    btw, who made this Unity plugin?

    in reply to: Server with bad frames on Unity Pro #6357
    rsodre
    Participant

    The main camera and syphon server is never touched, except for effects that I tweak all the time.

    All the levels are on a single scene, created when the game starts.
    During the game I just hide elements, spawn particles and re-spawn game elements on game/level reset.

    in reply to: Help adding Syphon to Unity 3D project #6342
    rsodre
    Participant

    Got back to it today and solved.
    The Editor and Plugins folder must reside at project’s root.
    Unity assets and objects organization is a mess!

    in reply to: Help adding Syphon to Unity 3D project #6304
    rsodre
    Participant

    Yeah!
    Worth every penny!

    in reply to: Client for OpenFrameworks #5042
    rsodre
    Participant

    Hello Vade,

    Great news! And in the right time!

    I tried the example and it worked fine.
    But when I integrante ofxSyphonClient in my VJ app, the following condition on SyphonNameboundClient.m never works, I had to bypass it:

    (void)handleServerAnnounce:(NSNotification *)notification
    {

    //if (![self parametersMatchDescription:[_client serverDescription]]
    // && [self parametersMatchDescription:newInfo])
    if (true)

    }

    And I usually work with GL_TEXTURE_2D, and because Syphon is using GL_TEXTURE_RECTANGLE_ARB, my shaders will have to be duplicated, replacing sampler2D for sampler2DRect.

    in reply to: Client for OpenFrameworks #5040
    rsodre
    Participant

    Yeah, I did it!

    Here is a very simple client on openFrameworks:
    http://code.sigilo.art.br/syphonTest.zip

    Right now I’m busy making a prototype, so my example just grab the first server available and display it. There’s still work to be done to make it usable for everyone, if anyone wants to continue from here, be my guest!

    Thanks for CGLGetCurrentContext(), no need to mess with GLUT anymore!

    in reply to: Client for OpenFrameworks #5038
    rsodre
    Participant

    Update: SyphonServerDirectory returns nothing on setup(), but does return the servers on update().
    Now stuck anymore!

Viewing 14 posts - 1 through 14 (of 14 total)