sprang / Inkpad

Vector illustration app for the iPad.
Mozilla Public License 2.0
2.64k stars 474 forks source link

Side loaded with Xcode 7: Export functions don't work #157

Open totry1 opened 8 years ago

totry1 commented 8 years ago

Hello,

When I couldn't find inkpad in the AppStore, I decided to install Xcode 7. I managed to sideload the app, but the export as PNG/PDF/SVG functions doesn't work. Is this normal because I used Xcode to side load?

Things I noticed that didn't work: -Dropbox because there was a "enable bitcode" error, so I disabled bitcode. -import.

Email still works though.

Would appreciate any insight, thanks.

alistairmcmillan commented 8 years ago

Hi @totry1 the code here almost works except one little fix that I've not updated because some people are trying to profit from Steve's project while not playing by the rules of the license by releasing their code or contributing back to the project in any way.

There are a number of Inkpad forks available in the store. I'd recommend Envoza's Inkpad. That fork is being maintained, the developer responds to support requests and they are playing by the rules and releasing their source.

Try it out and let me know how you get on.

totry1 commented 8 years ago

Thanks, if you can point it out to me, where can I find their released source code?

Update: oh, I managed to find their page and compiled it. aside from some warnings, everything is working great, especially the export options.

Thank you for the tip!

totry1 commented 8 years ago

I just noticed a problem when I compiled from envoza's code. The top menu part of the window options are covering things. I tried my best to figure out how to fix it in Xcode by myself, comparing the codes. But it's way too complex for me to figure out.

Using Sprang Inkpad code Using Sprang Inkpad code

Using Envoza Inkpad code Using Envoza Inkpad code

I assume I need to change some height size setting somewhere. I tried looking into these xib files. But I can't make heads or tails of them. Help would be appreciated. How do I fix this?

JanX2 commented 8 years ago

@totry1 Thanks for posting this here, but it would probably be more helpful in the fork. This is known as #133 here and appears to have been resolved. Check my fork’s release1 branch for a slapped together (untested) branch of what’s current.

alistairmcmillan commented 8 years ago

@totry1 Basically you need to set self.edgesForExtendedLayout = UIRectEdgeNone; in each popover controller. That will allow the views to align properly.

I think the issues you are seeing are because you are compiling the master branch instead of the develop branch which has a bunch of fixes for various issues.