PIC on iOS and build script changes