My set:
p24_sdk: ^1.0.40
xCode 12.4
Android Studio 2000.3.1.4
Flutter 2.8.0
Project Java/Swift
!!!Workaround:
Downgrading to 1.0.38 solves the issue
!!!Workaround 2:
Downgrading to 1.0.38, building the project and then bumping the version to 1.0.40 also solves the issue
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/p24_sdk-umbrella.h"
^
/Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:9: note: in file included from /Users/mbp/Documents/FlutterProj/p24playground/ios/Pods/Target Support Files/p24_sdk/p24_sdk-umbrella.h:13:
#import "ApplePayHandler.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:9: note: in file included from /Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayHandler.h:2:
#import "ApplePayRegistrarChannel.h"
^
/Users/mbp/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/p24_sdk-1.0.40/ios/Classes/ApplePay/ApplePayRegistrarChannel.h:2:9: error: 'P24.h' file not found
#import "P24.h"
^
<unknown>:0: error: could not build Objective-C module 'p24_sdk'
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
My set: p24_sdk: ^1.0.40 xCode 12.4 Android Studio 2000.3.1.4 Flutter 2.8.0 Project Java/Swift
!!!Workaround: Downgrading to 1.0.38 solves the issue
!!!Workaround 2: Downgrading to 1.0.38, building the project and then bumping the version to 1.0.40 also solves the issue