IOS QQ share error Could not build module ‘TencentOpenApi’
The original contents of the module.modulemap file:
module TencentOpenApi {
umbrella header "TencentOpenApiUmbrellaHeader.h"
export*}Copy the code
The contents of the module.modulemap file after modification:
framework module TencentOpenAPI {
header "QQApiInterface.h"
header "QQApiInterfaceObject.h"
header "TencentOAuth.h"
header "TencentOpenApiUmbrellaHeader.h"
header "sdkdef.h"
export*}Copy the code
This will compile and pass! Alternatively, you can delete the module.modulemap.