mwaterfall / MWPhotoBrowser

A simple iOS photo and video browser with grid view, captions and selections.
MIT License
8.75k stars 2.71k forks source link

bundle format unrecognized #609

Open Allansk2 opened 7 years ago

Allansk2 commented 7 years ago

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

youngliuxx commented 6 years ago

@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

NikKovIos commented 6 years ago

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