Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Joshua Hawthorne
18,523 PointsHow can we develop iPhone apps locally with MAMP?
I'm developing an app that needs to access several backend API's. How can I point my iPhone at my local MAMP server where I have my API's? I can't test on my server....there are several issues with that but I won't go into detail here.
I have a baseURL property I can manipulate in my Swift code. What else do I need to do to get this to work?
1 Answer
Chris Shaw
26,676 PointsHi Joshua,
MAMP by itself doesn't have an excellent integrated feature that the PRO version does, this feature makes use of xip.io which you can install manually, but it's not simple to.
You could also run a custom DNS server from OS X, but that is more of an advanced option.