NCMB build error cannot be resolved

Asked 2 years ago, Updated 2 years ago, 40 views

This is my first time posting.

When I build it, an error occurs and I can test it with an emulator, but I can't test it with an actual machine.
Looking at the content, I think NCMB is the cause, but I don't know how to deal with it.
Could someone please let me know?

PhaseScriptExecution [CP]\Embed\Pods\Frameworks/Users/MyPC/Library/Developer/Xcode/DerivedData/test-fgncbpfcpzoyxmgcemhcwpkaaply/Build/Intermediatees.noindex/test.build/ibebuilder/Diphone.Script-624B16F1207C06B12FA1DC8F.sh
    cd/Users/MyPC/Folder/test-app
    /bin/sh-c/Users/MyPC/Library/Developer/Xcode/DerivedData/test-fgncbpfcpzoyxmgcemhcwpkaaply/Build/Intermediates.noindex/test.build/Debug-iphoneos/test.build/Script-624B16F1207C06B12FA1DC8F.sh

mkdir-p/Users/MyPC/Library/Developer/Xcode/DerivedData/test-fgncbpfcpzoyxmgcemhcwpkaaply/Build/Products/Debug-iphoneos/test.app/Frameworks
rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/MyPC/Folder/test-app/NCMB/NCMB.framework" "/Users/MyPC/Library/Developer/Xcode/DerivedData/test-fgncbpfcpzoyxmgcemhcwpkaaply/Build/Products/Debug-iphoneos/test.app/Frameworks"
building file list... done
NCMB.framework/
NCMB.framework/NCMB->./Version/Current/NCMB
NCMB.framework/Resources->./Version/Current/Resources
NCMB.framework/Version/
NCMB.framework/Version/Current->./A
NCMB.framework/Version/A/
NCMB.framework/Version/A/NCMB
NCMB.framework/Version/A/Resources/
NCMB.framework/Version/A/Resources/NCMB_Info.plist

sent 9463715 bytes received 106 bytes 18927642.00 bytes/sec
total size is 9462166 speedup is 1.00
Code Signing/Users/MyPC/Library/Developer/Xcode/DerivedData/test-fgncbpfcpzoyxmgcemhcwpkaaply/Build/Products/Debug-iphoneos/test.app/Frameworks/NCMB.framework with Identity iPhone Developer: Test (VE8574)
/usr/bin/codesign--force--sign9FDB9DCD26910A4AD5893360914595990A947A04--preserve-metadata=identifier, entries '/Users/MyPC/Library/Developer/Xcode/DeliveredData/test-fgncbpfczpyogepyogepupply/Bupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdupdup
/Users/MyPC/Library/Developer/Xcode/DerivedData/test-fgncbpfcpzoyxmgcemhcwpkaaply/Build/Products/Debug-iphoneos/test.app/Frameworks/NCMB.framework:bundle format unreported, invalid, invalidated
Command/bin/sh failed with exit code 1

Enter a description of the image here

Enter a description of the image here

swift xcode

2022-09-30 13:55

1 Answers

  • Exit Xcode once
  • Click the desktop, select the finder, and press the command and shift keys while pressing G
  • A small window will open, type ~/Library/Developer/Xcode and press the Show Folder button
  • There is a folder called DerivedData in the newly opened Finder window, so please put it in the trash can and empty the trash can
  • Launch Xcode and try rebuilding the project that had the problem

6/8 Add

  • In the leftmost area of Xcode, press the top project icon
  • The source code display screen will be changed to the settings screen, so please click Build Phases at the top of the area
  • I think there is an orchid that sets up a copy of the framework in Copy Framework (or the name you gave it), so please click sideways △ to expand the content
  • MCNB.framework has the check box Code Sign On Copy to the far right of the row, so try reversing the current value

  • Click
  • or General to make sure that Automaticiy management signing is checked in the Signing area, and if not, check it

  • Team Make sure the pop-up menu is "Personal Team" or the name of the developer certificate issued by Apple

MCNB.framework has the check box Code Sign On Copy to the far right of the row, so try reversing the current value

Alternatively, click General to make sure that Automaticiy management signing is checked in the Signing area, and if not, check


2022-09-30 13:55

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.