MWPhotoBrowser icon indicating copy to clipboard operation
MWPhotoBrowser copied to clipboard

bundle format unrecognized

Open Allansk2 opened this issue 8 years ago • 2 comments

I tried to run the demo example, but try different ways to fix this issue with no success. Does anyone fix it? Thanks!

/Users/quicklinkt-dev1/Library/Developer/Xcode/DerivedData/MWPhotoBrowser-cclkxntoydqkgdeopoksorgbyhaq/Build/Products/Debug-iphonesimulator/MWPhotoBrowser.bundle: bundle format unrecognized, invalid, or unsuitable

Allansk2 avatar Jul 08 '17 22:07 Allansk2

@Allansk2 I have same problem, I solved it by changing the following code to Podfile:

source 'https://github.com/CocoaPods/Specs.git'

platform:ios, '8.0'
inhibit_all_warnings!

xcodeproj 'MWPhotoBrowser'
use_frameworks!

target 'MWPhotoBrowser_Example' do 
  pod "MWPhotoBrowser", :path => "../"
end

target 'MWPhotoBrowser_Tests' do
  pod "MWPhotoBrowser", :path => "../"

  pod 'Specta'
  pod 'Expecta'
  pod 'FBSnapshotTestCase'
  pod 'Expecta+Snapshots'
end

at last execute pod install --verbose --no-repo-update

youngliuxx avatar Aug 16 '17 11:08 youngliuxx

xcodeproj was renamed to project in Podfile

But now it throws error: cannot parse the debug map for "/Users/***/Library/Developer/Xcode/DerivedData/MWPhotoBrowser-dcemeyyudjyzcgebgzrwbzrrptie/Build/Products/Debug-iphonesimulator/MWPhotoBrowser_Example.app/MWPhotoBrowser_Example": No such file or directory

NikKovIos avatar Aug 18 '17 08:08 NikKovIos