Posts

Post not yet marked as solved
1 Replies
1.7k Views
I am attempting to run the MasterPass sandbox sample app in Xcode 13.3 provided by the MasterPass docs, however the "error: using bridging headers with module interfaces is unsupported" error in my logs keeps persisting. I am attempting to do this because I would prefer to tinker with it first before integrating it with my project I am using Xcode 13.3, macOS Monterrey mac mini 2018 32GB. I have gone through quite a number of similar questions here on stackoverflow on the same issue, but the solutions thereof have been unsuccessful on my project at this time, hence the need to ask a separate question, with particularity on using the MasterPass iOS SDK First, I got the following error message during compilation on the MerchantServices and MCCMerchant frameworks "building for ios simulator, but the linked and embedded framework 'mcc merchant.framework' was built for ios + ios simulator." I resolved that by going to my Build Settings on the specified target and setting the value on Validate Workspace to YES I attempted to build the project and this second error popped up "module compiled with swift 5.0 cannot be imported by the swift 5.6 compiler" This I resolved by setting the Build Settings > Build Options > Build Libraries for Distribution option to Yes Next build attempt resulted in the following error messages, but this time, it was in the crash logs "remark: incremental compilation has been disabled: it is not compatible with whole module optimization" "error: using bridging headers with module interfaces is unsupported" I then resolved the remark by setting the Build Settings > Swift Compiler > Compilation Mode option to Incremental leaving "error: using bridging headers with module interfaces is unsupported" unresolved I took the following steps to try to resolve the issue 4.a - Created a modulemap file to expose the Objective-C headers to my Swift project, BridgingMerchantModule.modulemap 4.b - the following code was in the provided MerchantCheckoutApp-Bridging-Header.h file // // Use this file to import your target's public headers that you would like to expose to Swift. // #import "SDWebImage/UIImageView+WebCache.h" 4.c - I wrote the following Swift code in my modulemap file module BridgingMerchantModule { header "SDWebImage/UIImageView+WebCache.h" export * } 4.d - Removed the provided bridging header file from the project (MerchantCheckoutApp-Bridging-Header.h) 4.e - In Project Settings > Build Settings > Swift Compiler - Search Paths > Import Paths I added the path to the module map file on my Mac However the error persists, I am at my wits end and I would appreciate any help
Posted Last updated
.
Post not yet marked as solved
0 Replies
420 Views
I am trying to enroll in the Apple Developer Program, but I am using my cousin's bank card to complete the purchase. From scouring the internet I have come to understand that this will delay the enrollment. Is there any way to speed up the process by putting Apple in touch with my cousin as well as submitting my necessary identification documents to verify that I am using his card with his express permission? Any help would be most appreciated.
Posted Last updated
.
Post not yet marked as solved
0 Replies
344 Views
Hi. I am fairly new to iOS development and I feel ready to release my app in the coming months. I saw some youtube tutorials that utilized amazing transitions and animations, and I have incorporated the code from the videos into my own app's code. My question is, in your experience, will this code make the Apple Review team reject my app since I copied some code in it from tutorials?
Posted Last updated
.
Post not yet marked as solved
2 Replies
888 Views
I am following some tutorials and I am trying to preview my app but I am getting the following error "Cannot preview in this file - Timed out waiting for connection to DTServiceHub after 15.0 seconds." This error does not come up when I use other versions of XCode. Is there any way of fixing this? I am using macOS Monterrey
Posted Last updated
.