Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS-Example Requires Adjustments to Build #77

Open
kylebme opened this issue Sep 23, 2017 · 3 comments
Open

iOS-Example Requires Adjustments to Build #77

kylebme opened this issue Sep 23, 2017 · 3 comments
Assignees
Milestone

Comments

@kylebme
Copy link

kylebme commented Sep 23, 2017

The instructions for building and running the iOS-Example code did not work for me: http://assimpkit.readthedocs.io/en/latest/user/examples.html

The first error is the provisioning profile/Team. It must be changed to the user's actual team to sign to code. Or set to none to run in the simulator.

The more important issue is that the framework that is included is referenced to a location that doesn't exist on my computer: /Users/Kyle/Library/Developer/Xcode/DerivedData/iOS-Example-dhbxrfamklnjjgantqahedchrnis/Build/Products/Debug-iphoneos/AssimpKit.framework

The solution to the second issue is to use carthage with the project and follow the steps to install the framework with carthage. Or to use AssimpKit.xcworkspace to compile the framework and copy it into the iOS-Example project manually as shown in #49

@dmsurti
Copy link
Owner

dmsurti commented Sep 24, 2017

The first error is the provisioning profile/Team. I

That's because our developer id's and hence provisioning profiles are different! This would work without change if the app is part of some org where you are granted >=TeamMember access; not true here.

framework that is included is referenced to a location that doesn't exist on my computer

Just build AssimpKit-iOS target; then you will have the framework in the expected location.

The solution to the second issue is to use carthage

For the sample apps part of checked out AssimpKit source, carthage is really not required. Carthage should be used when you add AssimpKit as a dependency in some app outside of AssimpKit sources.

Nevertheless, thanks for reporting this and I will update the docs so they are less ambiguous.

@kylebme
Copy link
Author

kylebme commented Sep 26, 2017

Ok gotcha. That worked. Here's the steps for anyone confused. Open up AssimpKit.xcworkspace, click on Library and change the signing team, build the AssimpKit-iOS target, click on iOS-Example and change the signing team, then build/run the iOS-Example target.

@JTray123
Copy link

Hi,

When I try and build the example ios project from within the workspace I get

AssimpKit/PostProcessingFlags.h' file not found.

Should the examples work once I build AssimKit-IOS and build run IOS-Example. Do I need to do anything else to get the sample examples up and going? I get no errors when I build AssimKit-IOS if thats is of any help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants