iOS Tutorial 1.1: Creating an Xcode project, adding the PhySdk and scanning for Physical Web beacons

Follow

Comments

9 comments

  • Avatar
    Brandon Batie

    Im trying to follow this, which is difficult with the small screens. But I am having a problem that it doesnt detect PHYEddystoneManagerDelegate when I try to add it. Im pretty sure I followed the instructions up to that point though.

  • Avatar
    Bob Rochford

    Hey Brandon,

      I'm sorry the screens are so small but they're limited to the width of the <div> in the html editor tool we're using on here. You can right-click on the gif and open the image in another tab and they get a lot bigger. Did you add the PHYEddystoneManagerDelegate to the class declaration for ViewController? It should go next to UIViewController and once you have that then you can instantiate PHYEddystoneManager as your bkonManager var. 

    Take a closer look at the gifs when they're a little bigger by opening then in a separate tab (or window) and let me know if you're still having trouble. Thanks for giving this a shot and I'm working on more tutorials now.

    (you can also just zoom on the page by "cmd+" if you're on a mac or in Chrome).

  • Avatar
    Brandon Batie

    It gives me an error when I try to add that as an undeclared type. I added the framework, added the bridge.h header file, added the import PhySdk,h, etc, but still shows that error. Maybe you could add a zip to a basic project with that in it. Im really more of a front end programmer, swift isn't my strong point so Im trying to learn it.

  • Avatar
    Bob Rochford

    I went ahead and pushed the sample up to my github https://github.com/rochforp/ios-phy-sdk-demo. You'll just need to download the sdk and drag-and-drop the framework into the project. Make sure you drop it in the project file structure and not outside of the project. We want it to be below "Products" or anywhere else on that path level.

  • Avatar
    Brandon Batie

    Bob,

    That seems to work fine. Now I just need to see where I went wrong. Thank you.

  • Avatar
    Brandon Batie

    Could you do a tutorial on how to add it if the project is Obj-C?

  • Avatar
    Bob Rochford

    Sure! No problem. I'll add it to the queue. 

  • Avatar
    Brandon Batie

    Any news on the obj-c tutorial, would love to get the BKONs implemented?

  • Avatar
    Brandon Batie

    .Just wondering when the Obj-c tutorial might be completed, we have a large project proposal coming up and would love to include BKON options with them. Thanks

Please sign in to leave a comment.